#2F4D9C#2F4D9C
#2F4D9C is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.134 H 265.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4D9C |
|---|---|
| RGB | rgb(47, 77, 156) |
| HSL | hsl(223, 54%, 40%) |
| HSV | hsv(223, 70%, 61%) |
| CMYK | cmyk(69.9%, 50.6%, 0%, 38.8%) |
| CIE-LAB | lab(34.62, 16.45, -46.42) |
| CIE-LCH | lch(34.62, 49.25, 289.51°) |
| OKLab | oklab(44.22% -0.0103 -0.1332) |
| OKLCH | oklch(44.22% 0.134 265.6) |
| XYZ | xyz(9.8248, 8.3114, 32.5325) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.00
Cobalt
#0047AB
ΔE00 3.49
Dusk Blue
#26538D
ΔE00 4.30
Sapphire
#0F52BA
ΔE00 4.49
Denim Blue
#3B5B92
ΔE00 5.02
Darkish Blue
#014182
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4D9C #9C7E2F
analogous
#2F849C #2F4D9C #472F9C
triadic
#2F4D9C #9C2F4D #4D9C2F
tetradic
#2F4D9C #9C2F84 #9C7E2F #2F9C47
square
#2F4D9C #9C2F84 #9C7E2F #2F9C47
split-complementary
#2F4D9C #9C472F #849C2F
monochromatic
#131F3E #21366D #2F4D9C #4266C6 #718CD4
Accessibility & contrast
On white
7.89
#2F4D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2F4D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4D9C
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4D9C | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20579F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f4d9c; /* rgb */ color: rgb(47, 77, 156); /* oklch */ color: oklch(44.2% 0.134 265.6);
Tailwind
colors: {
custom: {
50: '#757eba',
500: '#2f4d9c',
950: '#000000',
},
}SCSS
$custom: #2f4d9c; $custom-light: #757eba; $custom-dark: #000000;
JSON
{
"hex": "#2f4d9c",
"rgb": {
"r": 47,
"g": 77,
"b": 156
},
"hsl": {
"h": 223.486,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.44224,
"c": 0.13362,
"h": 265.6
},
"luminance": 0.08312
}Semantic roles & 50–950 ramp
primary
#2F4D9C
secondary
#BCA66B
accent
#B54BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81