#2F4A89#2F4A89
#2F4A89 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.2% C 0.110 H 264.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4A89 |
|---|---|
| RGB | rgb(47, 74, 137) |
| HSL | hsl(222, 49%, 36%) |
| HSV | hsv(222, 66%, 54%) |
| CMYK | cmyk(65.7%, 46%, 0%, 46.3%) |
| CIE-LAB | lab(32.50, 11.31, -38.27) |
| CIE-LCH | lch(32.50, 39.91, 286.47°) |
| OKLab | oklab(42.19% -0.0102 -0.1093) |
| OKLCH | oklch(42.19% 0.11 264.7) |
| XYZ | xyz(8.1349, 7.3073, 24.6438) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.23
Dusk Blue
#26538D
ΔE00 4.25
Darkish Blue
#014182
ΔE00 4.67
Twilight Blue
#0A437A
ΔE00 5.00
Cobalt
#0047AB
ΔE00 5.21
Denim Blue
#3B5B92
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4A89 #896E2F
analogous
#2F7789 #2F4A89 #412F89
triadic
#2F4A89 #892F4A #4A892F
tetradic
#2F4A89 #892F77 #896E2F #2F8941
square
#2F4A89 #892F77 #896E2F #2F8941
split-complementary
#2F4A89 #89412F #77892F
monochromatic
#10192E #1F315B #2F4A89 #3F63B7 #6785CB
Accessibility & contrast
On white
8.53
#2F4A89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2F4A89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4A89
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4A89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4A89 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C518B
Deuteranopia (green-blind)
#1D4988
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f4a89; /* rgb */ color: rgb(47, 74, 137); /* oklch */ color: oklch(42.2% 0.110 264.7);
Tailwind
colors: {
custom: {
50: '#717cac',
500: '#2f4a89',
950: '#000000',
},
}SCSS
$custom: #2f4a89; $custom-light: #717cac; $custom-dark: #000000;
JSON
{
"hex": "#2f4a89",
"rgb": {
"r": 47,
"g": 74,
"b": 137
},
"hsl": {
"h": 222,
"s": 48.913,
"l": 36.078
},
"oklch": {
"l": 0.42194,
"c": 0.10975,
"h": 264.7
},
"luminance": 0.07308
}Semantic roles & 50–950 ramp
primary
#2F4A89
secondary
#B29A62
accent
#AF4FD8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F