#2F409D#2F409D
#2F409D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.152 H 270.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F409D |
|---|---|
| RGB | rgb(47, 64, 157) |
| HSL | hsl(231, 54%, 40%) |
| HSV | hsv(231, 70%, 62%) |
| CMYK | cmyk(70.1%, 59.2%, 0%, 38.4%) |
| CIE-LAB | lab(31.12, 25.52, -52.69) |
| CIE-LCH | lch(31.12, 58.55, 295.85°) |
| OKLab | oklab(41.61% 0.0013 -0.1519) |
| OKLCH | oklch(41.61% 0.152 270.5) |
| XYZ | xyz(9.0894, 6.7046, 32.7068) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.34
Blueberry
#464196
ΔE00 3.96
Cobalt
#0047AB
ΔE00 4.68
Cobalt (survey)
#1E488F
ΔE00 5.40
Blue Blue
#2242C7
ΔE00 5.70
Darkslateblue
#483D8B
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F409D #9D8C2F
analogous
#2F779D #2F409D #552F9D
triadic
#2F409D #9D2F40 #409D2F
tetradic
#2F409D #9D2F77 #9D8C2F #2F9D55
square
#2F409D #9D2F77 #9D8C2F #2F9D55
split-complementary
#2F409D #9D552F #779D2F
monochromatic
#131A3F #212D6E #2F409D #4357C7 #7281D5
Accessibility & contrast
On white
8.97
#2F409D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2F409D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F409D
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F409D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F409D | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f409d; /* rgb */ color: rgb(47, 64, 157); /* oklch */ color: oklch(41.6% 0.152 270.5);
Tailwind
colors: {
custom: {
50: '#7674bb',
500: '#2f409d',
950: '#000000',
},
}SCSS
$custom: #2f409d; $custom-light: #7674bb; $custom-dark: #000000;
JSON
{
"hex": "#2f409d",
"rgb": {
"r": 47,
"g": 64,
"b": 157
},
"hsl": {
"h": 230.727,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.41612,
"c": 0.15187,
"h": 270.5
},
"luminance": 0.06705
}Semantic roles & 50–950 ramp
primary
#2F409D
secondary
#BCB06B
accent
#C74BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81