#2F379F#2F379F
#2F379F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.166 H 272.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F379F |
|---|---|
| RGB | rgb(47, 55, 159) |
| HSL | hsl(236, 54%, 40%) |
| HSV | hsv(236, 70%, 62%) |
| CMYK | cmyk(70.4%, 65.4%, 0%, 37.6%) |
| CIE-LAB | lab(29.00, 32.17, -57.37) |
| CIE-LCH | lch(29.00, 65.77, 299.28°) |
| OKLab | oklab(40.1% 0.0083 -0.1657) |
| OKLCH | oklch(40.1% 0.166 272.9) |
| XYZ | xyz(8.7944, 5.8391, 33.4578) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.05
Blueberry
#464196
ΔE00 4.48
Darkslateblue
#483D8B
ΔE00 5.60
Ocean Blue
#4F42B5
ΔE00 5.90
Blue Blue
#2242C7
ΔE00 6.12
Cobalt
#0047AB
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F379F #9F972F
analogous
#2F6F9F #2F379F #5F2F9F
triadic
#2F379F #9F2F37 #379F2F
tetradic
#2F379F #9F2F6F #9F972F #2F9F5F
square
#2F379F #9F2F6F #9F972F #2F9F5F
split-complementary
#2F379F #9F5F2F #6F9F2F
monochromatic
#131641 #212770 #2F379F #444DC8 #737AD6
Accessibility & contrast
On white
9.69
#2F379F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2F379F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F379F
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F379F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F379F | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f379f; /* rgb */ color: rgb(47, 55, 159); /* oklch */ color: oklch(40.1% 0.166 272.9);
Tailwind
colors: {
custom: {
50: '#776ebc',
500: '#2f379f',
950: '#000000',
},
}SCSS
$custom: #2f379f; $custom-light: #776ebc; $custom-dark: #000000;
JSON
{
"hex": "#2f379f",
"rgb": {
"r": 47,
"g": 55,
"b": 159
},
"hsl": {
"h": 235.714,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.40098,
"c": 0.16588,
"h": 272.9
},
"luminance": 0.0584
}Semantic roles & 50–950 ramp
primary
#2F379F
secondary
#BDB86D
accent
#D34ADE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81