#2931B3#2931B3
#2931B3 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.200 H 270.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2931B3 |
|---|---|
| RGB | rgb(41, 49, 179) |
| HSL | hsl(237, 63%, 43%) |
| HSV | hsv(237, 77%, 70%) |
| CMYK | cmyk(77.1%, 72.6%, 0%, 29.8%) |
| CIE-LAB | lab(29.21, 42.30, -69.06) |
| CIE-LCH | lch(29.21, 80.99, 301.49°) |
| OKLab | oklab(40.74% 0.003 -0.2) |
| OKLCH | oklch(40.74% 0.2 270.9) |
| XYZ | xyz(10.1467, 5.9216, 43.2473) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.69
Blue Blue
#2242C7
ΔE00 5.34
Indigo Blue
#3A18B1
ΔE00 5.42
Ocean Blue
#4F42B5
ΔE00 5.93
Blue With A Hint Of Purple
#533CC6
ΔE00 6.19
True Blue
#010FCC
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2931B3 #B3AB29
analogous
#2976B3 #2931B3 #6629B3
triadic
#2931B3 #B32931 #31B329
tetradic
#2931B3 #B32976 #B3AB29 #29B366
square
#2931B3 #B32976 #B3AB29 #29B366
split-complementary
#2931B3 #B36629 #76B329
monochromatic
#12164F #1E2381 #2931B3 #454DD4 #777DE0
Accessibility & contrast
On white
9.61
#2931B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2931B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2931B3
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2931B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2931B3 | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 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: #2931b3; /* rgb */ color: rgb(41, 49, 179); /* oklch */ color: oklch(40.7% 0.200 270.9);
Tailwind
colors: {
custom: {
50: '#7a6acb',
500: '#2931b3',
950: '#000000',
},
}SCSS
$custom: #2931b3; $custom-light: #7a6acb; $custom-dark: #000000;
JSON
{
"hex": "#2931b3",
"rgb": {
"r": 41,
"g": 49,
"b": 179
},
"hsl": {
"h": 236.522,
"s": 62.727,
"l": 43.137
},
"oklch": {
"l": 0.40741,
"c": 0.19998,
"h": 270.9
},
"luminance": 0.05923
}Semantic roles & 50–950 ramp
primary
#2931B3
secondary
#C7C270
accent
#DC42E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82