#2F3497#2F3497
#2F3497 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.159 H 274.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3497 |
|---|---|
| RGB | rgb(47, 52, 151) |
| HSL | hsl(237, 53%, 39%) |
| HSV | hsv(237, 69%, 59%) |
| CMYK | cmyk(68.9%, 65.6%, 0%, 40.8%) |
| CIE-LAB | lab(27.56, 31.24, -54.86) |
| CIE-LCH | lch(27.56, 63.13, 299.66°) |
| OKLab | oklab(38.82% 0.0112 -0.1583) |
| OKLCH | oklch(38.82% 0.159 274) |
| XYZ | xyz(7.9843, 5.2940, 29.8732) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.24
Blueberry
#464196
ΔE00 4.70
Darkslateblue
#483D8B
ΔE00 5.23
Ocean Blue
#4F42B5
ΔE00 6.89
Royal
#0C1793
ΔE00 7.32
Blue Blue
#2242C7
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3497 #97922F
analogous
#2F6897 #2F3497 #5E2F97
triadic
#2F3497 #972F34 #34972F
tetradic
#2F3497 #972F68 #97922F #2F975E
square
#2F3497 #972F68 #97922F #2F975E
split-complementary
#2F3497 #975E2F #68972F
monochromatic
#12143A #202468 #2F3497 #4046C3 #6E73D2
Accessibility & contrast
On white
10.20
#2F3497 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F3497 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3497
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3497 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3497 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f3497; /* rgb */ color: rgb(47, 52, 151); /* oklch */ color: oklch(38.8% 0.159 274.0);
Tailwind
colors: {
custom: {
50: '#766bb6',
500: '#2f3497',
950: '#000000',
},
}SCSS
$custom: #2f3497; $custom-light: #766bb6; $custom-dark: #000000;
JSON
{
"hex": "#2f3497",
"rgb": {
"r": 47,
"g": 52,
"b": 151
},
"hsl": {
"h": 237.115,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.3882,
"c": 0.15872,
"h": 274
},
"luminance": 0.05295
}Semantic roles & 50–950 ramp
primary
#2F3497
secondary
#B9B568
accent
#D54CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80