#2B31B3#2B31B3
#2B31B3 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.199 H 271.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2B31B3 |
|---|---|
| RGB | rgb(43, 49, 179) |
| HSL | hsl(237, 61%, 44%) |
| HSV | hsv(237, 76%, 70%) |
| CMYK | cmyk(76%, 72.6%, 0%, 29.8%) |
| CIE-LAB | lab(29.32, 42.48, -68.88) |
| CIE-LCH | lch(29.32, 80.93, 301.66°) |
| OKLab | oklab(40.85% 0.0051 -0.1994) |
| OKLCH | oklch(40.85% 0.199 271.5) |
| XYZ | xyz(10.2285, 5.9638, 43.2511) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.79
Indigo Blue
#3A18B1
ΔE00 5.34
Blue Blue
#2242C7
ΔE00 5.37
Ocean Blue
#4F42B5
ΔE00 5.81
Blue With A Hint Of Purple
#533CC6
ΔE00 6.05
True Blue
#010FCC
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B31B3 #B3AD2B
analogous
#2B75B3 #2B31B3 #692BB3
triadic
#2B31B3 #B32B31 #31B32B
tetradic
#2B31B3 #B32B75 #B3AD2B #2BB369
square
#2B31B3 #B32B75 #B3AD2B #2BB369
split-complementary
#2B31B3 #B3692B #75B32B
monochromatic
#131650 #1F2382 #2B31B3 #484ED3 #797EDF
Accessibility & contrast
On white
9.58
#2B31B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2B31B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B31B3
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B31B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B31B3 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b31b3; /* rgb */ color: rgb(43, 49, 179); /* oklch */ color: oklch(40.8% 0.199 271.5);
Tailwind
colors: {
custom: {
50: '#7b6acb',
500: '#2b31b3',
950: '#000000',
},
}SCSS
$custom: #2b31b3; $custom-light: #7b6acb; $custom-dark: #000000;
JSON
{
"hex": "#2b31b3",
"rgb": {
"r": 43,
"g": 49,
"b": 179
},
"hsl": {
"h": 237.353,
"s": 61.261,
"l": 43.529
},
"oklch": {
"l": 0.40847,
"c": 0.19946,
"h": 271.5
},
"luminance": 0.05965
}Semantic roles & 50–950 ramp
primary
#2B31B3
secondary
#C7C373
accent
#DD43E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82