#2F3385#2F3385
#2F3385 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.135 H 275.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3385 |
|---|---|
| RGB | rgb(47, 51, 133) |
| HSL | hsl(237, 48%, 35%) |
| HSV | hsv(237, 65%, 52%) |
| CMYK | cmyk(64.7%, 61.7%, 0%, 47.8%) |
| CIE-LAB | lab(25.76, 25.40, -46.66) |
| CIE-LCH | lch(25.76, 53.13, 298.56°) |
| OKLab | oklab(37.02% 0.0129 -0.1343) |
| OKLCH | oklch(37.02% 0.135 275.5) |
| XYZ | xyz(6.5884, 4.6649, 22.7390) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.71
Blueberry
#464196
ΔE00 5.20
Sapphire (survey)
#2138AB
ΔE00 5.85
Midnight Blue
#191970
ΔE00 7.43
Royal
#0C1793
ΔE00 7.97
Marine
#042E60
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3385 #85812F
analogous
#2F5E85 #2F3385 #562F85
triadic
#2F3385 #852F33 #33852F
tetradic
#2F3385 #852F5E #85812F #2F8556
square
#2F3385 #852F5E #85812F #2F8556
split-complementary
#2F3385 #85562F #5E852F
monochromatic
#0F102B #1F2258 #2F3385 #3F44B2 #666AC9
Accessibility & contrast
On white
10.86
#2F3385 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2F3385 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3385
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3385 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3385 | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f3385; /* rgb */ color: rgb(47, 51, 133); /* oklch */ color: oklch(37.0% 0.135 275.5);
Tailwind
colors: {
custom: {
50: '#726aa9',
500: '#2f3385',
950: '#000000',
},
}SCSS
$custom: #2f3385; $custom-light: #726aa9; $custom-dark: #000000;
JSON
{
"hex": "#2f3385",
"rgb": {
"r": 47,
"g": 51,
"b": 133
},
"hsl": {
"h": 237.209,
"s": 47.778,
"l": 35.294
},
"oklch": {
"l": 0.37018,
"c": 0.13489,
"h": 275.5
},
"luminance": 0.04665
}Semantic roles & 50–950 ramp
primary
#2F3385
secondary
#B0AC60
accent
#D150D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F