#2F4A8A#2F4A8A
#2F4A8A is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.3% C 0.111 H 264.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4A8A |
|---|---|
| RGB | rgb(47, 74, 138) |
| HSL | hsl(222, 49%, 36%) |
| HSV | hsv(222, 66%, 54%) |
| CMYK | cmyk(65.9%, 46.4%, 0%, 45.9%) |
| CIE-LAB | lab(32.56, 11.68, -38.78) |
| CIE-LCH | lch(32.56, 40.50, 286.77°) |
| OKLab | oklab(42.26% -0.01 -0.1108) |
| OKLCH | oklch(42.26% 0.111 264.8) |
| XYZ | xyz(8.2069, 7.3361, 25.0233) |
| Luminance | 0.0734 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.20
Dusk Blue
#26538D
ΔE00 4.27
Darkish Blue
#014182
ΔE00 4.71
Twilight Blue
#0A437A
ΔE00 5.07
Cobalt
#0047AB
ΔE00 5.09
Denim Blue
#3B5B92
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4A8A #8A6F2F
analogous
#2F788A #2F4A8A #422F8A
triadic
#2F4A8A #8A2F4A #4A8A2F
tetradic
#2F4A8A #8A2F78 #8A6F2F #2F8A42
square
#2F4A8A #8A2F78 #8A6F2F #2F8A42
split-complementary
#2F4A8A #8A422F #788A2F
monochromatic
#10192F #1F325C #2F4A8A #3F62B8 #6885CC
Accessibility & contrast
On white
8.51
#2F4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2F4A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4A8A
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4A8A | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B518C
Deuteranopia (green-blind)
#1C4989
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f4a8a; /* rgb */ color: rgb(47, 74, 138); /* oklch */ color: oklch(42.3% 0.111 264.8);
Tailwind
colors: {
custom: {
50: '#717cac',
500: '#2f4a8a',
950: '#000000',
},
}SCSS
$custom: #2f4a8a; $custom-light: #717cac; $custom-dark: #000000;
JSON
{
"hex": "#2f4a8a",
"rgb": {
"r": 47,
"g": 74,
"b": 138
},
"hsl": {
"h": 222.198,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.42264,
"c": 0.11124,
"h": 264.8
},
"luminance": 0.07337
}Semantic roles & 50–950 ramp
primary
#2F4A8A
secondary
#B39B62
accent
#B04FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F