#2F3E9F#2F3E9F
#2F3E9F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.157 H 271.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3E9F |
|---|---|
| RGB | rgb(47, 62, 159) |
| HSL | hsl(232, 54%, 40%) |
| HSV | hsv(232, 70%, 62%) |
| CMYK | cmyk(70.4%, 61%, 0%, 37.6%) |
| CIE-LAB | lab(30.76, 27.59, -54.49) |
| CIE-LCH | lch(30.76, 61.08, 296.86°) |
| OKLab | oklab(41.4% 0.0029 -0.1572) |
| OKLCH | oklch(41.4% 0.157 271.1) |
| XYZ | xyz(9.1508, 6.5519, 33.5766) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.66
Blueberry
#464196
ΔE00 3.94
Cobalt
#0047AB
ΔE00 5.13
Blue Blue
#2242C7
ΔE00 5.46
Darkslateblue
#483D8B
ΔE00 5.65
Ocean Blue
#4F42B5
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3E9F #9F902F
analogous
#2F769F #2F3E9F #582F9F
triadic
#2F3E9F #9F2F3E #3E9F2F
tetradic
#2F3E9F #9F2F76 #9F902F #2F9F58
square
#2F3E9F #9F2F76 #9F902F #2F9F58
split-complementary
#2F3E9F #9F582F #769F2F
monochromatic
#131941 #212C70 #2F3E9F #4455C8 #7380D6
Accessibility & contrast
On white
9.09
#2F3E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2F3E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3E9F
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3E9F | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f3e9f; /* rgb */ color: rgb(47, 62, 159); /* oklch */ color: oklch(41.4% 0.157 271.1);
Tailwind
colors: {
custom: {
50: '#7773bc',
500: '#2f3e9f',
950: '#000000',
},
}SCSS
$custom: #2f3e9f; $custom-light: #7773bc; $custom-dark: #000000;
JSON
{
"hex": "#2f3e9f",
"rgb": {
"r": 47,
"g": 62,
"b": 159
},
"hsl": {
"h": 231.964,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.41395,
"c": 0.15719,
"h": 271.1
},
"luminance": 0.06553
}Semantic roles & 50–950 ramp
primary
#2F3E9F
secondary
#BDB26D
accent
#CA4ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81