#2F3D9E#2F3D9E
#2F3D9E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.157 H 271.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3D9E |
|---|---|
| RGB | rgb(47, 61, 158) |
| HSL | hsl(232, 54%, 40%) |
| HSV | hsv(232, 70%, 62%) |
| CMYK | cmyk(70.3%, 61.4%, 0%, 38%) |
| CIE-LAB | lab(30.42, 27.89, -54.44) |
| CIE-LCH | lch(30.42, 61.17, 297.12°) |
| OKLab | oklab(41.12% 0.0037 -0.157) |
| OKLCH | oklch(41.12% 0.157 271.4) |
| XYZ | xyz(9.0105, 6.4096, 33.1034) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.57
Blueberry
#464196
ΔE00 3.90
Cobalt
#0047AB
ΔE00 5.40
Darkslateblue
#483D8B
ΔE00 5.51
Blue Blue
#2242C7
ΔE00 5.65
Ocean Blue
#4F42B5
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3D9E #9E902F
analogous
#2F759E #2F3D9E #582F9E
triadic
#2F3D9E #9E2F3D #3D9E2F
tetradic
#2F3D9E #9E2F75 #9E902F #2F9E58
square
#2F3D9E #9E2F75 #9E902F #2F9E58
split-complementary
#2F3D9E #9E582F #759E2F
monochromatic
#131940 #212B6F #2F3D9E #4354C7 #727FD5
Accessibility & contrast
On white
9.20
#2F3D9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2F3D9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3D9E
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3D9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3D9E | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f3d9e; /* rgb */ color: rgb(47, 61, 158); /* oklch */ color: oklch(41.1% 0.157 271.4);
Tailwind
colors: {
custom: {
50: '#7672bb',
500: '#2f3d9e',
950: '#000000',
},
}SCSS
$custom: #2f3d9e; $custom-light: #7672bb; $custom-dark: #000000;
JSON
{
"hex": "#2f3d9e",
"rgb": {
"r": 47,
"g": 61,
"b": 158
},
"hsl": {
"h": 232.432,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.41116,
"c": 0.15707,
"h": 271.4
},
"luminance": 0.0641
}Semantic roles & 50–950 ramp
primary
#2F3D9E
secondary
#BDB36C
accent
#CB4ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81