#2F3296#2F3296
#2F3296 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.160 H 274.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3296 |
|---|---|
| RGB | rgb(47, 50, 150) |
| HSL | hsl(238, 52%, 39%) |
| HSV | hsv(238, 69%, 59%) |
| CMYK | cmyk(68.7%, 66.7%, 0%, 41.2%) |
| CIE-LAB | lab(26.98, 32.17, -55.19) |
| CIE-LCH | lch(26.98, 63.88, 300.24°) |
| OKLab | oklab(38.37% 0.0128 -0.1593) |
| OKLCH | oklch(38.37% 0.16 274.6) |
| XYZ | xyz(7.8161, 5.0868, 29.4182) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.61
Blueberry
#464196
ΔE00 5.07
Darkslateblue
#483D8B
ΔE00 5.40
Royal
#0C1793
ΔE00 6.78
Indigo Blue
#3A18B1
ΔE00 7.17
Ocean Blue
#4F42B5
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3296 #96932F
analogous
#2F6596 #2F3296 #5F2F96
triadic
#2F3296 #962F32 #32962F
tetradic
#2F3296 #962F65 #96932F #2F965F
square
#2F3296 #962F65 #96932F #2F965F
split-complementary
#2F3296 #965F2F #65962F
monochromatic
#121339 #202267 #2F3296 #3F43C3 #6E71D2
Accessibility & contrast
On white
10.41
#2F3296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2F3296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3296
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3296 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f3296; /* rgb */ color: rgb(47, 50, 150); /* oklch */ color: oklch(38.4% 0.160 274.6);
Tailwind
colors: {
custom: {
50: '#766ab6',
500: '#2f3296',
950: '#000000',
},
}SCSS
$custom: #2f3296; $custom-light: #766ab6; $custom-dark: #000000;
JSON
{
"hex": "#2f3296",
"rgb": {
"r": 47,
"g": 50,
"b": 150
},
"hsl": {
"h": 238.252,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.38372,
"c": 0.15981,
"h": 274.6
},
"luminance": 0.05088
}Semantic roles & 50–950 ramp
primary
#2F3296
secondary
#B9B768
accent
#D84CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80