#2F4289#2F4289
#2F4289 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.120 H 269.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4289 |
|---|---|
| RGB | rgb(47, 66, 137) |
| HSL | hsl(227, 49%, 36%) |
| HSV | hsv(227, 66%, 54%) |
| CMYK | cmyk(65.7%, 51.8%, 0%, 46.3%) |
| CIE-LAB | lab(30.17, 16.71, -42.00) |
| CIE-LCH | lch(30.17, 45.20, 291.70°) |
| OKLab | oklab(40.42% -0.0018 -0.1204) |
| OKLCH | oklch(40.42% 0.12 269.2) |
| XYZ | xyz(7.6343, 6.3062, 24.4770) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.86
Blueberry
#464196
ΔE00 5.06
Darkish Blue
#014182
ΔE00 5.25
Cobalt
#0047AB
ΔE00 5.77
Darkslateblue
#483D8B
ΔE00 5.96
Twilight Blue
#0A437A
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4289 #89762F
analogous
#2F6F89 #2F4289 #492F89
triadic
#2F4289 #892F42 #42892F
tetradic
#2F4289 #892F6F #89762F #2F8949
square
#2F4289 #892F6F #89762F #2F8949
split-complementary
#2F4289 #89492F #6F892F
monochromatic
#10162E #1F2C5B #2F4289 #3F58B7 #677CCB
Accessibility & contrast
On white
9.29
#2F4289 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2F4289 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4289
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4289 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4289 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4B8C
Deuteranopia (green-blind)
#014388
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f4289; /* rgb */ color: rgb(47, 66, 137); /* oklch */ color: oklch(40.4% 0.120 269.2);
Tailwind
colors: {
custom: {
50: '#7276ac',
500: '#2f4289',
950: '#000000',
},
}SCSS
$custom: #2f4289; $custom-light: #7276ac; $custom-dark: #000000;
JSON
{
"hex": "#2f4289",
"rgb": {
"r": 47,
"g": 66,
"b": 137
},
"hsl": {
"h": 227.333,
"s": 48.913,
"l": 36.078
},
"oklch": {
"l": 0.40421,
"c": 0.12039,
"h": 269.2
},
"luminance": 0.06307
}Semantic roles & 50–950 ramp
primary
#2F4289
secondary
#B2A162
accent
#BC4FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F