#2F3396#2F3396
#2F3396 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.159 H 274.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3396 |
|---|---|
| RGB | rgb(47, 51, 150) |
| HSL | hsl(238, 52%, 39%) |
| HSV | hsv(238, 69%, 59%) |
| CMYK | cmyk(68.7%, 66%, 0%, 41.2%) |
| CIE-LAB | lab(27.22, 31.52, -54.79) |
| CIE-LCH | lch(27.22, 63.22, 299.91°) |
| OKLab | oklab(38.55% 0.012 -0.1581) |
| OKLCH | oklch(38.55% 0.159 274.3) |
| XYZ | xyz(7.8593, 5.1733, 29.4326) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.48
Blueberry
#464196
ΔE00 4.87
Darkslateblue
#483D8B
ΔE00 5.28
Royal
#0C1793
ΔE00 7.06
Ocean Blue
#4F42B5
ΔE00 7.08
Indigo Blue
#3A18B1
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3396 #96922F
analogous
#2F6696 #2F3396 #5E2F96
triadic
#2F3396 #962F33 #33962F
tetradic
#2F3396 #962F66 #96922F #2F965E
square
#2F3396 #962F66 #96922F #2F965E
split-complementary
#2F3396 #965E2F #66962F
monochromatic
#121339 #202367 #2F3396 #3F44C3 #6E72D2
Accessibility & contrast
On white
10.32
#2F3396 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2F3396 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3396
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3396 | 1.00 | 10.32 | 2.03 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f3396; /* rgb */ color: rgb(47, 51, 150); /* oklch */ color: oklch(38.5% 0.159 274.3);
Tailwind
colors: {
custom: {
50: '#756bb6',
500: '#2f3396',
950: '#000000',
},
}SCSS
$custom: #2f3396; $custom-light: #756bb6; $custom-dark: #000000;
JSON
{
"hex": "#2f3396",
"rgb": {
"r": 47,
"g": 51,
"b": 150
},
"hsl": {
"h": 237.67,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.38549,
"c": 0.15859,
"h": 274.3
},
"luminance": 0.05174
}Semantic roles & 50–950 ramp
primary
#2F3396
secondary
#B9B668
accent
#D64CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80