#2F358D#2F358D
#2F358D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.144 H 274.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F358D |
|---|---|
| RGB | rgb(47, 53, 141) |
| HSL | hsl(236, 50%, 37%) |
| HSV | hsv(236, 67%, 55%) |
| CMYK | cmyk(66.7%, 62.4%, 0%, 44.7%) |
| CIE-LAB | lab(26.94, 26.97, -49.71) |
| CIE-LCH | lch(26.94, 56.55, 298.48°) |
| OKLab | oklab(38.1% 0.0109 -0.1432) |
| OKLCH | oklch(38.1% 0.144 274.3) |
| XYZ | xyz(7.2515, 5.0730, 25.7912) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.54
Sapphire (survey)
#2138AB
ΔE00 4.55
Darkslateblue
#483D8B
ΔE00 4.64
Ocean Blue
#4F42B5
ΔE00 7.90
Royal
#0C1793
ΔE00 7.98
Cobalt (survey)
#1E488F
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F358D #8D872F
analogous
#2F648D #2F358D #582F8D
triadic
#2F358D #8D2F35 #358D2F
tetradic
#2F358D #8D2F64 #8D872F #2F8D58
square
#2F358D #8D2F64 #8D872F #2F8D58
split-complementary
#2F358D #8D582F #648D2F
monochromatic
#101231 #20245F #2F358D #3E46BB #6970CD
Accessibility & contrast
On white
10.42
#2F358D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2F358D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F358D
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F358D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F358D | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f358d; /* rgb */ color: rgb(47, 53, 141); /* oklch */ color: oklch(38.1% 0.144 274.3);
Tailwind
colors: {
custom: {
50: '#736caf',
500: '#2f358d',
950: '#000000',
},
}SCSS
$custom: #2f358d; $custom-light: #736caf; $custom-dark: #000000;
JSON
{
"hex": "#2f358d",
"rgb": {
"r": 47,
"g": 53,
"b": 141
},
"hsl": {
"h": 236.17,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.381,
"c": 0.14361,
"h": 274.3
},
"luminance": 0.05074
}Semantic roles & 50–950 ramp
primary
#2F358D
secondary
#B4AF64
accent
#D14EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F