#2F4490#2F4490
#2F4490 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.128 H 268.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4490 |
|---|---|
| RGB | rgb(47, 68, 144) |
| HSL | hsl(227, 51%, 37%) |
| HSV | hsv(227, 67%, 56%) |
| CMYK | cmyk(67.4%, 52.8%, 0%, 43.5%) |
| CIE-LAB | lab(31.23, 17.98, -44.60) |
| CIE-LCH | lch(31.23, 48.08, 291.96°) |
| OKLab | oklab(41.38% -0.003 -0.128) |
| OKLCH | oklch(41.38% 0.128 268.6) |
| XYZ | xyz(8.2717, 6.7514, 27.2474) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.40
Cobalt
#0047AB
ΔE00 4.77
Blueberry
#464196
ΔE00 4.92
Darkish Blue
#014182
ΔE00 5.38
Sapphire (survey)
#2138AB
ΔE00 5.93
Twilight Blue
#0A437A
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4490 #907B2F
analogous
#2F7590 #2F4490 #4A2F90
triadic
#2F4490 #902F44 #44902F
tetradic
#2F4490 #902F75 #907B2F #2F904A
square
#2F4490 #902F75 #907B2F #2F904A
split-complementary
#2F4490 #904A2F #75902F
monochromatic
#111834 #202E62 #2F4490 #3E5ABE #6B80CF
Accessibility & contrast
On white
8.93
#2F4490 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2F4490 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4490
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4490 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4490 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#164E93
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4490; /* rgb */ color: rgb(47, 68, 144); /* oklch */ color: oklch(41.4% 0.128 268.6);
Tailwind
colors: {
custom: {
50: '#7377b1',
500: '#2f4490',
950: '#000000',
},
}SCSS
$custom: #2f4490; $custom-light: #7377b1; $custom-dark: #000000;
JSON
{
"hex": "#2f4490",
"rgb": {
"r": 47,
"g": 68,
"b": 144
},
"hsl": {
"h": 227.01,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.41383,
"c": 0.12802,
"h": 268.6
},
"luminance": 0.06752
}Semantic roles & 50–950 ramp
primary
#2F4490
secondary
#B6A465
accent
#BC4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80