#2F3596#2F3596
#2F3596 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.156 H 273.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3596 |
|---|---|
| RGB | rgb(47, 53, 150) |
| HSL | hsl(237, 52%, 39%) |
| HSV | hsv(237, 69%, 59%) |
| CMYK | cmyk(68.7%, 64.7%, 0%, 41.2%) |
| CIE-LAB | lab(27.71, 30.23, -53.99) |
| CIE-LCH | lch(27.71, 61.88, 299.24°) |
| OKLab | oklab(38.91% 0.0104 -0.1558) |
| OKLCH | oklch(38.91% 0.156 273.8) |
| XYZ | xyz(7.9486, 5.3518, 29.4624) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.28
Blueberry
#464196
ΔE00 4.49
Darkslateblue
#483D8B
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 6.91
Blue Blue
#2242C7
ΔE00 7.48
Royal
#0C1793
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3596 #96902F
analogous
#2F6896 #2F3596 #5C2F96
triadic
#2F3596 #962F35 #35962F
tetradic
#2F3596 #962F68 #96902F #2F965C
square
#2F3596 #962F68 #96902F #2F965C
split-complementary
#2F3596 #965C2F #68962F
monochromatic
#121439 #202567 #2F3596 #3F47C3 #6E74D2
Accessibility & contrast
On white
10.14
#2F3596 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2F3596 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3596
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3596 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3596 | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f3596; /* rgb */ color: rgb(47, 53, 150); /* oklch */ color: oklch(38.9% 0.156 273.8);
Tailwind
colors: {
custom: {
50: '#756cb6',
500: '#2f3596',
950: '#000000',
},
}SCSS
$custom: #2f3596; $custom-light: #756cb6; $custom-dark: #000000;
JSON
{
"hex": "#2f3596",
"rgb": {
"r": 47,
"g": 53,
"b": 150
},
"hsl": {
"h": 236.505,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.38909,
"c": 0.15612,
"h": 273.8
},
"luminance": 0.05353
}Semantic roles & 50–950 ramp
primary
#2F3596
secondary
#B9B468
accent
#D34CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80