Closest web-safe match: #3333CC

Color Details and Palettes for #1F4BB7

Details about the color Once in a Blue Moon#1F4BB7

Conversions, palettes, contrast & design ideas for this color.

Blue family Cool WCAG ink: white
HEX #1F4BB7 RGB rgb(31, 75, 183) HSL hsl(223, 71%, 42%) CMYK cmyk(83%, 59%, 0%, 28%)

Color profile

About Color Hex #1F4BB7

#1F4BB7 is a cool color from the Blue family, closest in name to “Once in a Blue Moon”. In RGB it is rgb(31, 75, 183); in HSL, hsl(223, 71%, 42%).

The color Once in a Blue Moon, with hexadecimal code #1f4bb7, belongs to the blue color family, the world's most universally preferred hue. Blue projects trust, stability, and intellectual calm, which is why it dominates corporate, financial, and technology branding worldwide. Additionally, it evokes emotions such as Trust, Peace, Loyalty, Integrity and Tranquility. Blue signifies tranquility and stability. In Middle Eastern cultures, it can also represent protection against the evil eye, while in Western cultures, it symbolizes calmness and reliability. At 71% saturation, this color is clearly chromatic yet balanced—colorful enough to be distinctive without overwhelming adjacent content. With a mid-range lightness of 42%, it offers excellent versatility—readable as text on light backgrounds and visible as an element on dark ones. This color is ideal for designs that aim to express Trust, Peace, Loyalty, Integrity, or Tranquility. It can be effectively used in web design, branding, and marketing materials to attract attention and convey specific messages.

Key facts

RGB 31, 75, 183 red · green · blue HSL 223° 71% 42% hue · sat · light HSV 223° 83% 72% design-app pickers CMYK 83 59 0 28 print inks, % Luminance 0.087 0 dark → 1 light On black 2.75:1 ✕ AA contrast ratio On white 7.64:1 ✓ AA contrast ratio Web-safe #3333CC closest web-safe Best text white ideal foreground Character Vivid cool · blue family

The story of this color

History, Usage, Psychology & Design Ideas for #1F4BB7

Once in a Blue Moon (#1F4BB7) belongs to the Blue color family.

This vivid mid-tone strikes the ideal balance between intensity and readability, making it a strong candidate for primary brand colors, interactive UI elements, and logo design where immediate recognition is essential.

Historical Background

Blue's scarcity in nature made it a late addition to human color vocabulary—Homer's 'wine-dark sea' notably omits the word blue entirely. The breakthrough came with Egyptian Blue (~2200 BC) and later ultramarine from Afghan lapis lazuli, which Medieval artists hoarded for divine subjects. Synthetic ultramarine (1826) and cobalt blue democratized the color, enabling Impressionists like Monet and Renoir to paint blue-drenched landscapes affordably.

Design & Usage Tips

Blue is the most universally liked color and dominates corporate branding (Facebook, LinkedIn, IBM, Samsung). Use it to establish trust, competence, and professionalism. Lighter blues suit wellness and social apps, while darker blues convey authority and security. Avoid using blue for food branding—it suppresses appetite.

Sitting on the cool side of the spectrum (hue 223°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. With 71% saturation, it occupies a comfortable middle ground: colorful enough to be distinctive, yet restrained enough for extended reading or large surface areas.

Psychological Impact

Blue lowers blood pressure and heart rate, promoting calm and focused thought. It signals reliability and integrity, which is why it is the default choice for banks, insurance companies, and government institutions. In UX, blue links and buttons feel intuitive because users have been trained by decades of web convention.

With a mid-range lightness of 42%, this tone is highly versatile: dark enough to serve as body text on white, yet light enough to stand out on charcoal or navy backgrounds.

Creative Design Ideas

Pair classic blue (#0047AB) with warm amber for a nautical or heritage brand. Use gradient blues (light-to-dark, top-to-bottom) for app onboarding screens that feel expansive and inviting. In data dashboards, blue is the safest primary chart color—it's distinct, professional, and colorblind-friendly.

Every format

#1F4BB7 Color Conversions

Every way to write Once in a Blue Moon — one-tap copy on every format; tap on any card to learn what it is and when to use it.

12 formats
HEX Web
#1F4BB7

Hexadecimal is the web’s universal color notation — two digits each for red, green and blue. Drop it straight into HTML, CSS or any design tool.

RGB Screen
rgb(31, 75, 183)

RGB is the additive Red-Green-Blue model every screen uses to emit light. The default choice for websites, apps and on-screen UI.

HSL Web
hsl(223, 71%, 42%)

HSL breaks a color into Hue, Saturation and Lightness — the most intuitive way to lighten, darken or mute a color in CSS.

HSV HSB Design
hsv(223, 83%, 72%)

HSV (also called HSB) maps Hue, Saturation and Value/Brightness. It is the model behind the color pickers in Photoshop, Figma and most design apps.

HWB CSS 4
hwb(223 12% 28%)

HWB blends a pure hue with Whiteness and Blackness — a painter-friendly model added in CSS Color 4 for quick tints and shades.

CMYK Print
cmyk(83%, 59%, 0%, 28%)

CMYK is the subtractive Cyan-Magenta-Yellow-Black ink model. Use these values when preparing artwork for a printer or commercial press.

OKLCH Modern
oklch(45.34% 0.178 263.84)

OKLCH is a modern, perceptually-uniform space (Lightness, Chroma, Hue). It powers smooth gradients and accessible palettes in today’s CSS.

OKLab Modern
oklab(45.34% -0.019 -0.177)

OKLab is the Cartesian form of OKLCH — ideal for blending and interpolating colors without the muddy midpoints older spaces produce.

CIELAB L*a*b* Perceptual
L: 35.48, a: 26.31, b: -61.17

CIELAB is a device-independent, perceptually-uniform space. It is the standard for measuring color difference (ΔE) and matching across devices.

LCH Perceptual
L: 35.48, C: 66.59, H: 293.27

LCH is CIELAB in cylindrical form — Lightness, Chroma and Hue — letting you adjust vividness and hue while staying perceptually even.

XYZ CIE Science
X: 11.63, Y: 8.74, Z: 45.87

CIE XYZ is the 1931 master space that underpins every other model here — the scientific bridge used to convert between color systems.

Decimal int Code
2050999

The 24-bit integer value of the color — handy for databases, APIs, game engines and low-level graphics code.

Channel breakdown

RGB Color Percentages for #1F4BB7

How much red, green and blue light mixes into Once in a Blue Moon.

Red 31/255 10.7% Green 75/255 26.0% Blue 183/255 63.3%

Percentages show each channel's share of the total light (R + G + B) in Once in a Blue Moon.

Ink coverage

CMYK Ink Levels & Print Guide for #1F4BB7

Ink needed to reproduce Once in a Blue Moon in four-color print. Heaviest ink: Cyan.

83% CYAN 59% MAGENTA 0% YELLOW 28% KEY

Print tip: treat these values as a starting point — final output depends on printer profile, paper stock and calibration.

Accessibility · WCAG

Luminance & Contrast for #1F4BB7

How bright Once in a Blue Moon is, and how far black and white text clear each WCAG bar.

Relative luminance 0.087
0 · dark1 · light

Contrast ratio · 1:1 → 21:1 (log scale)

Aa Black text 2.75:1 ✕ AA ✕ AAA ✕ Large
Aa White text 7.64:1 ✓ AA ✓ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #1F4BB7

Copy-and-paste CSS for Once in a Blue Moon — per-line copy, or grab the whole block.

once-in-a-blue-moon.css
background-color: #1F4BB7;
color: #1F4BB7;
border: 2px solid #1F4BB7;
background-color: rgb(31, 75, 183);
background-color: hsl(223, 71%, 42%);
--color: #1F4BB7;

Shades · light to dark

#1F4BB7 Monochrome Palette

Lighter and darker steps of Once in a Blue Moon — the color's full brightness range in one strip.

#E9EDF8
#C7D2ED
#A5B7E2
#849CD7
#6281CD
#4166C2
#1F4BB7
#1A409C
#163580
#112965
#0C1E49
#08132E
#030812

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 180° apart

#1F4BB7 Complementary Palette

Two colors opposite on the wheel — maximum contrast for attention-grabbing accents.

#1F4BB7
#B78C1F

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · adjacent hues

#1F4BB7 Analogic Palette

Neighboring hues on the wheel — harmonious, calm combinations that feel unified.

#1F4BB7
#401FB7
#1F96B7
#8C1FB7
#1FB78C
#B71F96
#1FB740

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 120° apart

#1F4BB7 Triadic Palette

Three colors evenly spaced on the wheel — vibrant and energetic, yet balanced.

#1F4BB7
#B71F4A
#4AB71F

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 90° apart

#1F4BB7 Quad Palette

Four colors evenly spaced on the wheel (tetradic) — rich schemes with multiple accents.

#1F4BB7
#B71F96
#B78C1F
#1FB740

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Accessibility

Color Blindness Simulation for #1F4BB7

How Once in a Blue Moon reads across five kinds of color vision — a ✓ Friendly verdict means the color difference stays distinguishable for that vision type.

#1F4BB7
#302C97
#32329D
#218884
#494949
Normal vision full color Deuteranopia green weakness ✓ Friendly Protanopia red weakness ✓ Friendly Tritanopia blue-yellow weakness ✕ Not friendly Achromatopsia total color blindness ✕ Not friendly

The dot marks the original color. Hover any shade to copy its hex.

Harmony overview

Color Harmonies for #1F4BB7

The lead color from each harmony scheme, side by side — a shortcut to the full palettes above.

#B78C1F
#401FB7
#B71F4A
#B71F96
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#1F4BB7 Nearby Colors

A step away in brightness, richness or shade — each still feels like the same color.

Frosted Blueberries#3355CC
Once in a Blue Moon#0044AA
Arcane Brew#5566DD
Smalt#003399
Once in a Blue Moon#0044BB
Denim#3344AA
Blueberry#5544AA
Blasphemous Blue#0055BB

From the color-name library

Colors Similar to #1F4BB7

The closest named colors to #1F4BB7 — same mood, each with its own character.

Once in a Blue Moon#0044BB
Flying Fish Blue#024ACA
Denim#2243B6
Blasphemous Blue#3356AA
Cascade Twilight#234893
Le Grand Bleu#244E94
Frosted Blueberries#0055DD
Nuit Blanche#1E488F
Fist of the North Star#225599
Dancing Sea#1C4D8F
Pacific Navy#25488A
Galaxy Express#444499

Looking for more Blue shades? Browse Blue colors →

Inspiration

Explore Vibrant Images Featuring Once in a Blue Moon (#1f4bb7)

Curated Unsplash photos that carry the mood of Once in a Blue Moon — hover any tile to download it or view the original.

Good to know

Frequently Asked Questions about #1F4BB7

#1F4BB7 is a cool color from the Blue family. Its closest matched name is “Once in a Blue Moon”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(31, 75, 183); in HSL, hsl(223, 71%, 42%).
In RGB, #1F4BB7 is rgb(31, 75, 183); in HSL it is hsl(223, 71%, 42%); and in CMYK — the model used for print — it is cmyk(83%, 59%, 0%, 28%).
#1F4BB7 has a contrast ratio of 2.75:1 against black and 7.64:1 against white. For readability, white body text meets the WCAG AA threshold of 4.5:1 on it, while black does not.
The direct complement of #1F4BB7 is #B78C1F (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #1F4BB7 in the palette sections above.