#2F4590#2F4590
#2F4590 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.127 H 268.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4590 |
|---|---|
| RGB | rgb(47, 69, 144) |
| HSL | hsl(226, 51%, 37%) |
| HSV | hsv(226, 67%, 56%) |
| CMYK | cmyk(67.4%, 52.1%, 0%, 43.5%) |
| CIE-LAB | lab(31.52, 17.30, -44.14) |
| CIE-LCH | lch(31.52, 47.41, 291.41°) |
| OKLab | oklab(41.6% -0.004 -0.1266) |
| OKLCH | oklch(41.6% 0.127 268.2) |
| XYZ | xyz(8.3327, 6.8734, 27.2677) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.13
Cobalt
#0047AB
ΔE00 4.65
Blueberry
#464196
ΔE00 5.15
Darkish Blue
#014182
ΔE00 5.26
Twilight Blue
#0A437A
ΔE00 6.06
Sapphire (survey)
#2138AB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4590 #907A2F
analogous
#2F7590 #2F4590 #4A2F90
triadic
#2F4590 #902F45 #45902F
tetradic
#2F4590 #902F75 #907A2F #2F904A
square
#2F4590 #902F75 #907A2F #2F904A
split-complementary
#2F4590 #904A2F #75902F
monochromatic
#111934 #202F62 #2F4590 #3E5BBE #6B81CF
Accessibility & contrast
On white
8.84
#2F4590 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2F4590 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4590
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4590 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4590 | 1.00 | 8.84 | 2.37 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194F93
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f4590; /* rgb */ color: rgb(47, 69, 144); /* oklch */ color: oklch(41.6% 0.127 268.2);
Tailwind
colors: {
custom: {
50: '#7378b1',
500: '#2f4590',
950: '#000000',
},
}SCSS
$custom: #2f4590; $custom-light: #7378b1; $custom-dark: #000000;
JSON
{
"hex": "#2f4590",
"rgb": {
"r": 47,
"g": 69,
"b": 144
},
"hsl": {
"h": 226.392,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.41597,
"c": 0.12668,
"h": 268.2
},
"luminance": 0.06874
}Semantic roles & 50–950 ramp
primary
#2F4590
secondary
#B6A365
accent
#BA4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80