#2F3D79#2F3D79
#2F3D79 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.1% C 0.103 H 270.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3D79 |
|---|---|
| RGB | rgb(47, 61, 121) |
| HSL | hsl(229, 44%, 33%) |
| HSV | hsv(229, 61%, 47%) |
| CMYK | cmyk(61.2%, 49.6%, 0%, 52.5%) |
| CIE-LAB | lab(27.63, 14.18, -36.10) |
| CIE-LCH | lch(27.63, 38.79, 291.45°) |
| OKLab | oklab(38.14% 0.0017 -0.1031) |
| OKLCH | oklch(38.14% 0.103 270.9) |
| XYZ | xyz(6.2911, 5.3218, 18.7811) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 5.95
Darkslateblue
#483D8B
ΔE00 6.07
Darkish Blue
#014182
ΔE00 6.11
Blueberry
#464196
ΔE00 6.27
Marine Blue
#01386A
ΔE00 6.44
Twilight Blue
#0A437A
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3D79 #796B2F
analogous
#2F6279 #2F3D79 #462F79
triadic
#2F3D79 #792F3D #3D792F
tetradic
#2F3D79 #792F62 #796B2F #2F7946
square
#2F3D79 #792F62 #796B2F #2F7946
split-complementary
#2F3D79 #79462F #62792F
monochromatic
#0D1121 #1E274D #2F3D79 #4053A5 #6173C2
Accessibility & contrast
On white
10.17
#2F3D79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F3D79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3D79
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3D79 | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#143E78
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f3d79; /* rgb */ color: rgb(47, 61, 121); /* oklch */ color: oklch(38.1% 0.103 270.9);
Tailwind
colors: {
custom: {
50: '#6f72a0',
500: '#2f3d79',
950: '#000000',
},
}SCSS
$custom: #2f3d79; $custom-light: #6f72a0; $custom-dark: #000000;
JSON
{
"hex": "#2f3d79",
"rgb": {
"r": 47,
"g": 61,
"b": 121
},
"hsl": {
"h": 228.649,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.3814,
"c": 0.10311,
"h": 270.9
},
"luminance": 0.05322
}Semantic roles & 50–950 ramp
primary
#2F3D79
secondary
#A89A5B
accent
#BC54D4
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#08070F
muted
#7B7A7E