#2F3F9E#2F3F9E
#2F3F9E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.155 H 270.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3F9E |
|---|---|
| RGB | rgb(47, 63, 158) |
| HSL | hsl(231, 54%, 40%) |
| HSV | hsv(231, 70%, 62%) |
| CMYK | cmyk(70.3%, 60.1%, 0%, 38%) |
| CIE-LAB | lab(30.94, 26.56, -53.60) |
| CIE-LCH | lch(30.94, 59.82, 296.36°) |
| OKLab | oklab(41.5% 0.0021 -0.1545) |
| OKLCH | oklch(41.5% 0.155 270.8) |
| XYZ | xyz(9.1193, 6.6271, 33.1397) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.99
Blueberry
#464196
ΔE00 3.93
Cobalt
#0047AB
ΔE00 4.89
Blue Blue
#2242C7
ΔE00 5.57
Darkslateblue
#483D8B
ΔE00 5.67
Cobalt (survey)
#1E488F
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3F9E #9E8E2F
analogous
#2F779E #2F3F9E #562F9E
triadic
#2F3F9E #9E2F3F #3F9E2F
tetradic
#2F3F9E #9E2F77 #9E8E2F #2F9E56
square
#2F3F9E #9E2F77 #9E8E2F #2F9E56
split-complementary
#2F3F9E #9E562F #779E2F
monochromatic
#131940 #212C6F #2F3F9E #4356C7 #7281D5
Accessibility & contrast
On white
9.03
#2F3F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F3F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3F9E
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3F9E | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f3f9e; /* rgb */ color: rgb(47, 63, 158); /* oklch */ color: oklch(41.5% 0.155 270.8);
Tailwind
colors: {
custom: {
50: '#7673bb',
500: '#2f3f9e',
950: '#000000',
},
}SCSS
$custom: #2f3f9e; $custom-light: #7673bb; $custom-dark: #000000;
JSON
{
"hex": "#2f3f9e",
"rgb": {
"r": 47,
"g": 63,
"b": 158
},
"hsl": {
"h": 231.351,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.41501,
"c": 0.15453,
"h": 270.8
},
"luminance": 0.06628
}Semantic roles & 50–950 ramp
primary
#2F3F9E
secondary
#BDB16C
accent
#C84ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81