#2F3F85#2F3F85
#2F3F85 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.119 H 270.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3F85 |
|---|---|
| RGB | rgb(47, 63, 133) |
| HSL | hsl(229, 48%, 35%) |
| HSV | hsv(229, 65%, 52%) |
| CMYK | cmyk(64.7%, 52.6%, 0%, 47.8%) |
| CIE-LAB | lab(29.04, 17.26, -41.35) |
| CIE-LCH | lch(29.04, 44.81, 292.66°) |
| OKLab | oklab(39.47% 0.0009 -0.1185) |
| OKLCH | oklch(39.47% 0.119 270.4) |
| XYZ | xyz(7.1820, 5.8522, 22.9369) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.81
Blueberry
#464196
ΔE00 4.98
Darkslateblue
#483D8B
ΔE00 5.47
Darkish Blue
#014182
ΔE00 5.68
Twilight Blue
#0A437A
ΔE00 6.48
Sapphire (survey)
#2138AB
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3F85 #85752F
analogous
#2F6A85 #2F3F85 #4A2F85
triadic
#2F3F85 #852F3F #3F852F
tetradic
#2F3F85 #852F6A #85752F #2F854A
square
#2F3F85 #852F6A #85752F #2F854A
split-complementary
#2F3F85 #854A2F #6A852F
monochromatic
#0F142B #1F2A58 #2F3F85 #3F54B2 #6678C9
Accessibility & contrast
On white
9.67
#2F3F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2F3F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3F85
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3F85 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174888
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3f85; /* rgb */ color: rgb(47, 63, 133); /* oklch */ color: oklch(39.5% 0.119 270.4);
Tailwind
colors: {
custom: {
50: '#7173a9',
500: '#2f3f85',
950: '#000000',
},
}SCSS
$custom: #2f3f85; $custom-light: #7173a9; $custom-dark: #000000;
JSON
{
"hex": "#2f3f85",
"rgb": {
"r": 47,
"g": 63,
"b": 133
},
"hsl": {
"h": 228.837,
"s": 47.778,
"l": 35.294
},
"oklch": {
"l": 0.3947,
"c": 0.11851,
"h": 270.4
},
"luminance": 0.05853
}Semantic roles & 50–950 ramp
primary
#2F3F85
secondary
#B0A160
accent
#BE50D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F