#2F3192#2F3192
#2F3192 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.156 H 275.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3192 |
|---|---|
| RGB | rgb(47, 49, 146) |
| HSL | hsl(239, 51%, 38%) |
| HSV | hsv(239, 68%, 57%) |
| CMYK | cmyk(67.8%, 66.4%, 0%, 42.7%) |
| CIE-LAB | lab(26.38, 31.39, -53.72) |
| CIE-LCH | lch(26.38, 62.22, 300.30°) |
| OKLab | oklab(37.82% 0.0139 -0.155) |
| OKLCH | oklch(37.82% 0.156 275.1) |
| XYZ | xyz(7.4572, 4.8756, 27.7367) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.20
Blueberry
#464196
ΔE00 5.23
Darkslateblue
#483D8B
ΔE00 5.31
Royal
#0C1793
ΔE00 6.60
Indigo Blue
#3A18B1
ΔE00 7.36
Ocean Blue
#4F42B5
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3192 #92902F
analogous
#2F6292 #2F3192 #5E2F92
triadic
#2F3192 #922F31 #31922F
tetradic
#2F3192 #922F62 #92902F #2F925E
square
#2F3192 #922F62 #92902F #2F925E
split-complementary
#2F3192 #925E2F #62922F
monochromatic
#111235 #202164 #2F3192 #3E41C0 #6C6ED0
Accessibility & contrast
On white
10.63
#2F3192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2F3192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3192
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3192 | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f3192; /* rgb */ color: rgb(47, 49, 146); /* oklch */ color: oklch(37.8% 0.156 275.1);
Tailwind
colors: {
custom: {
50: '#7569b3',
500: '#2f3192',
950: '#000000',
},
}SCSS
$custom: #2f3192; $custom-light: #7569b3; $custom-dark: #000000;
JSON
{
"hex": "#2f3192",
"rgb": {
"r": 47,
"g": 49,
"b": 146
},
"hsl": {
"h": 238.788,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.37821,
"c": 0.15562,
"h": 275.1
},
"luminance": 0.04876
}Semantic roles & 50–950 ramp
primary
#2F3192
secondary
#B7B566
accent
#D84DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80