#2F3595#2F3595
#2F3595 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.155 H 273.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3595 |
|---|---|
| RGB | rgb(47, 53, 149) |
| HSL | hsl(236, 52%, 38%) |
| HSV | hsv(236, 68%, 58%) |
| CMYK | cmyk(68.5%, 64.4%, 0%, 41.6%) |
| CIE-LAB | lab(27.63, 29.87, -53.52) |
| CIE-LCH | lch(27.63, 61.29, 299.16°) |
| OKLab | oklab(38.82% 0.0105 -0.1544) |
| OKLCH | oklch(38.82% 0.155 273.9) |
| XYZ | xyz(7.8684, 5.3198, 29.0401) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.41
Blueberry
#464196
ΔE00 4.48
Darkslateblue
#483D8B
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 7.01
Blue Blue
#2242C7
ΔE00 7.61
Royal
#0C1793
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3595 #958F2F
analogous
#2F6895 #2F3595 #5C2F95
triadic
#2F3595 #952F35 #35952F
tetradic
#2F3595 #952F68 #958F2F #2F955C
square
#2F3595 #952F68 #958F2F #2F955C
split-complementary
#2F3595 #955C2F #68952F
monochromatic
#121438 #202466 #2F3595 #3F47C2 #6D73D1
Accessibility & contrast
On white
10.17
#2F3595 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F3595 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3595
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3595 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3595 | 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)
#004698
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f3595; /* rgb */ color: rgb(47, 53, 149); /* oklch */ color: oklch(38.8% 0.155 273.9);
Tailwind
colors: {
custom: {
50: '#756cb5',
500: '#2f3595',
950: '#000000',
},
}SCSS
$custom: #2f3595; $custom-light: #756cb5; $custom-dark: #000000;
JSON
{
"hex": "#2f3595",
"rgb": {
"r": 47,
"g": 53,
"b": 149
},
"hsl": {
"h": 236.471,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.38817,
"c": 0.15475,
"h": 273.9
},
"luminance": 0.0532
}Semantic roles & 50–950 ramp
primary
#2F3595
secondary
#B8B467
accent
#D34CDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80