#2F399F#2F399F
#2F399F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.163 H 272.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F399F |
|---|---|
| RGB | rgb(47, 57, 159) |
| HSL | hsl(235, 54%, 40%) |
| HSV | hsv(235, 70%, 62%) |
| CMYK | cmyk(70.4%, 64.2%, 0%, 37.6%) |
| CIE-LAB | lab(29.50, 30.88, -56.56) |
| CIE-LCH | lch(29.50, 64.44, 298.63°) |
| OKLab | oklab(40.46% 0.0068 -0.1633) |
| OKLCH | oklch(40.46% 0.163 272.4) |
| XYZ | xyz(8.8913, 6.0329, 33.4901) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.01
Blueberry
#464196
ΔE00 4.22
Darkslateblue
#483D8B
ΔE00 5.52
Ocean Blue
#4F42B5
ΔE00 5.79
Blue Blue
#2242C7
ΔE00 5.87
Cobalt
#0047AB
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F399F #9F952F
analogous
#2F719F #2F399F #5D2F9F
triadic
#2F399F #9F2F39 #399F2F
tetradic
#2F399F #9F2F71 #9F952F #2F9F5D
square
#2F399F #9F2F71 #9F952F #2F9F5D
split-complementary
#2F399F #9F5D2F #719F2F
monochromatic
#131741 #212870 #2F399F #444FC8 #737CD6
Accessibility & contrast
On white
9.52
#2F399F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2F399F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F399F
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F399F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F399F | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f399f; /* rgb */ color: rgb(47, 57, 159); /* oklch */ color: oklch(40.5% 0.163 272.4);
Tailwind
colors: {
custom: {
50: '#776fbc',
500: '#2f399f',
950: '#000000',
},
}SCSS
$custom: #2f399f; $custom-light: #776fbc; $custom-dark: #000000;
JSON
{
"hex": "#2f399f",
"rgb": {
"r": 47,
"g": 57,
"b": 159
},
"hsl": {
"h": 234.643,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.40459,
"c": 0.16343,
"h": 272.4
},
"luminance": 0.06034
}Semantic roles & 50–950 ramp
primary
#2F399F
secondary
#BDB66D
accent
#D14ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81