#2F3597#2F3597
#2F3597 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.157 H 273.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3597 |
|---|---|
| RGB | rgb(47, 53, 151) |
| HSL | hsl(237, 53%, 39%) |
| HSV | hsv(237, 69%, 59%) |
| CMYK | cmyk(68.9%, 64.9%, 0%, 40.8%) |
| CIE-LAB | lab(27.80, 30.59, -54.46) |
| CIE-LCH | lch(27.80, 62.46, 299.32°) |
| OKLab | oklab(39% 0.0104 -0.1571) |
| OKLCH | oklch(39% 0.157 273.8) |
| XYZ | xyz(8.0294, 5.3842, 29.8883) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.15
Blueberry
#464196
ΔE00 4.51
Darkslateblue
#483D8B
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 6.81
Blue Blue
#2242C7
ΔE00 7.36
Royal
#0C1793
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3597 #97912F
analogous
#2F6997 #2F3597 #5D2F97
triadic
#2F3597 #972F35 #35972F
tetradic
#2F3597 #972F69 #97912F #2F975D
square
#2F3597 #972F69 #97912F #2F975D
split-complementary
#2F3597 #975D2F #69972F
monochromatic
#12143A #202568 #2F3597 #4047C3 #6E74D2
Accessibility & contrast
On white
10.11
#2F3597 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2F3597 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3597
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3597 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3597 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f3597; /* rgb */ color: rgb(47, 53, 151); /* oklch */ color: oklch(39.0% 0.157 273.8);
Tailwind
colors: {
custom: {
50: '#766cb6',
500: '#2f3597',
950: '#000000',
},
}SCSS
$custom: #2f3597; $custom-light: #766cb6; $custom-dark: #000000;
JSON
{
"hex": "#2f3597",
"rgb": {
"r": 47,
"g": 53,
"b": 151
},
"hsl": {
"h": 236.538,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.39,
"c": 0.15748,
"h": 273.8
},
"luminance": 0.05385
}Semantic roles & 50–950 ramp
primary
#2F3597
secondary
#B9B568
accent
#D44CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80