#2F3496#2F3496
#2F3496 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.157 H 274.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3496 |
|---|---|
| RGB | rgb(47, 52, 150) |
| HSL | hsl(237, 52%, 39%) |
| HSV | hsv(237, 69%, 59%) |
| CMYK | cmyk(68.7%, 65.3%, 0%, 41.2%) |
| CIE-LAB | lab(27.47, 30.88, -54.39) |
| CIE-LCH | lch(27.47, 62.55, 299.58°) |
| OKLab | oklab(38.73% 0.0112 -0.157) |
| OKLCH | oklch(38.73% 0.157 274.1) |
| XYZ | xyz(7.9035, 5.2616, 29.4473) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.37
Blueberry
#464196
ΔE00 4.68
Darkslateblue
#483D8B
ΔE00 5.17
Ocean Blue
#4F42B5
ΔE00 6.99
Royal
#0C1793
ΔE00 7.34
Blue Blue
#2242C7
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3496 #96912F
analogous
#2F6796 #2F3496 #5D2F96
triadic
#2F3496 #962F34 #34962F
tetradic
#2F3496 #962F67 #96912F #2F965D
square
#2F3496 #962F67 #96912F #2F965D
split-complementary
#2F3496 #965D2F #67962F
monochromatic
#121439 #202467 #2F3496 #3F46C3 #6E73D2
Accessibility & contrast
On white
10.23
#2F3496 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2F3496 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3496
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3496 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3496 | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f3496; /* rgb */ color: rgb(47, 52, 150); /* oklch */ color: oklch(38.7% 0.157 274.1);
Tailwind
colors: {
custom: {
50: '#756bb6',
500: '#2f3496',
950: '#000000',
},
}SCSS
$custom: #2f3496; $custom-light: #756bb6; $custom-dark: #000000;
JSON
{
"hex": "#2f3496",
"rgb": {
"r": 47,
"g": 52,
"b": 150
},
"hsl": {
"h": 237.087,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.38728,
"c": 0.15736,
"h": 274.1
},
"luminance": 0.05262
}Semantic roles & 50–950 ramp
primary
#2F3496
secondary
#B9B568
accent
#D54CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80