#2F4F95#2F4F95
#2F4F95 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.121 H 263.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4F95 |
|---|---|
| RGB | rgb(47, 79, 149) |
| HSL | hsl(221, 52%, 38%) |
| HSV | hsv(221, 68%, 58%) |
| CMYK | cmyk(68.5%, 47%, 0%, 41.6%) |
| CIE-LAB | lab(34.73, 12.48, -42.01) |
| CIE-LCH | lch(34.73, 43.83, 286.54°) |
| OKLab | oklab(44.16% -0.0132 -0.1202) |
| OKLCH | oklch(44.16% 0.121 263.7) |
| XYZ | xyz(9.3912, 8.3653, 29.5477) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.68
Dusk Blue
#26538D
ΔE00 3.12
Denim Blue
#3B5B92
ΔE00 4.07
Cobalt
#0047AB
ΔE00 4.33
Sapphire
#0F52BA
ΔE00 4.95
Light Navy Blue
#2E5A88
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4F95 #95752F
analogous
#2F8295 #2F4F95 #422F95
triadic
#2F4F95 #952F4F #4F952F
tetradic
#2F4F95 #952F82 #95752F #2F9542
square
#2F4F95 #952F82 #95752F #2F9542
split-complementary
#2F4F95 #95422F #82952F
monochromatic
#121E38 #203666 #2F4F95 #3F68C2 #6D8DD1
Accessibility & contrast
On white
7.86
#2F4F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2F4F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4F95
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4F95 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#184D94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f4f95; /* rgb */ color: rgb(47, 79, 149); /* oklch */ color: oklch(44.2% 0.121 263.7);
Tailwind
colors: {
custom: {
50: '#737fb5',
500: '#2f4f95',
950: '#000000',
},
}SCSS
$custom: #2f4f95; $custom-light: #737fb5; $custom-dark: #000000;
JSON
{
"hex": "#2f4f95",
"rgb": {
"r": 47,
"g": 79,
"b": 149
},
"hsl": {
"h": 221.176,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.44158,
"c": 0.12095,
"h": 263.7
},
"luminance": 0.08366
}Semantic roles & 50–950 ramp
primary
#2F4F95
secondary
#B89F67
accent
#AF4CDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80