#2F409C#2F409C
#2F409C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.150 H 270.5°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2F409C |
|---|---|
| RGB | rgb(47, 64, 156) |
| HSL | hsl(231, 54%, 40%) |
| HSV | hsv(231, 70%, 61%) |
| CMYK | cmyk(69.9%, 59%, 0%, 38.8%) |
| CIE-LAB | lab(31.04, 25.15, -52.22) |
| CIE-LCH | lch(31.04, 57.96, 295.72°) |
| OKLab | oklab(41.53% 0.0013 -0.1505) |
| OKLCH | oklch(41.53% 0.15 270.5) |
| XYZ | xyz(9.0044, 6.6706, 32.2591) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.45
Blueberry
#464196
ΔE00 3.94
Cobalt
#0047AB
ΔE00 4.71
Cobalt (survey)
#1E488F
ΔE00 5.32
Darkslateblue
#483D8B
ΔE00 5.68
Blue Blue
#2242C7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F409C #9C8B2F
analogous
#2F779C #2F409C #542F9C
triadic
#2F409C #9C2F40 #409C2F
tetradic
#2F409C #9C2F77 #9C8B2F #2F9C54
square
#2F409C #9C2F77 #9C8B2F #2F9C54
split-complementary
#2F409C #9C542F #779C2F
monochromatic
#13193E #212D6D #2F409C #4257C6 #7181D4
Accessibility & contrast
On white
9.00
#2F409C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F409C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F409C
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F409C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F409C | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f409c; /* rgb */ color: rgb(47, 64, 156); /* oklch */ color: oklch(41.5% 0.150 270.5);
Tailwind
colors: {
custom: {
50: '#7674ba',
500: '#2f409c',
950: '#000000',
},
}SCSS
$custom: #2f409c; $custom-light: #7674ba; $custom-dark: #000000;
JSON
{
"hex": "#2f409c",
"rgb": {
"r": 47,
"g": 64,
"b": 156
},
"hsl": {
"h": 230.642,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.41527,
"c": 0.15047,
"h": 270.5
},
"luminance": 0.06671
}Semantic roles & 50–950 ramp
primary
#2F409C
secondary
#BCAF6B
accent
#C64BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81