#2F3B9F#2F3B9F
#2F3B9F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.161 H 271.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3B9F |
|---|---|
| RGB | rgb(47, 59, 159) |
| HSL | hsl(234, 54%, 40%) |
| HSV | hsv(234, 70%, 62%) |
| CMYK | cmyk(70.4%, 62.9%, 0%, 37.6%) |
| CIE-LAB | lab(30.00, 29.57, -55.74) |
| CIE-LCH | lch(30.00, 63.10, 297.94°) |
| OKLab | oklab(40.83% 0.0053 -0.1609) |
| OKLCH | oklch(40.83% 0.161 271.9) |
| XYZ | xyz(8.9922, 6.2346, 33.5237) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.15
Blueberry
#464196
ΔE00 4.03
Darkslateblue
#483D8B
ΔE00 5.51
Blue Blue
#2242C7
ΔE00 5.66
Ocean Blue
#4F42B5
ΔE00 5.73
Cobalt
#0047AB
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3B9F #9F932F
analogous
#2F739F #2F3B9F #5B2F9F
triadic
#2F3B9F #9F2F3B #3B9F2F
tetradic
#2F3B9F #9F2F73 #9F932F #2F9F5B
square
#2F3B9F #9F2F73 #9F932F #2F9F5B
split-complementary
#2F3B9F #9F5B2F #739F2F
monochromatic
#131841 #212970 #2F3B9F #4452C8 #737DD6
Accessibility & contrast
On white
9.35
#2F3B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F3B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3B9F
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3B9F | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f3b9f; /* rgb */ color: rgb(47, 59, 159); /* oklch */ color: oklch(40.8% 0.161 271.9);
Tailwind
colors: {
custom: {
50: '#7771bc',
500: '#2f3b9f',
950: '#000000',
},
}SCSS
$custom: #2f3b9f; $custom-light: #7771bc; $custom-dark: #000000;
JSON
{
"hex": "#2f3b9f",
"rgb": {
"r": 47,
"g": 59,
"b": 159
},
"hsl": {
"h": 233.571,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.40828,
"c": 0.16096,
"h": 271.9
},
"luminance": 0.06235
}Semantic roles & 50–950 ramp
primary
#2F3B9F
secondary
#BDB56D
accent
#CE4ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81