#2931AB#2931AB
#2931AB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.190 H 271.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2931AB |
|---|---|
| RGB | rgb(41, 49, 171) |
| HSL | hsl(236, 61%, 42%) |
| HSV | hsv(236, 76%, 67%) |
| CMYK | cmyk(76%, 71.3%, 0%, 32.9%) |
| CIE-LAB | lab(28.40, 39.53, -65.62) |
| CIE-LCH | lch(28.40, 76.60, 301.06°) |
| OKLab | oklab(39.91% 0.0041 -0.1899) |
| OKLCH | oklch(39.91% 0.19 271.2) |
| XYZ | xyz(9.3610, 5.6073, 39.1092) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.32
Indigo Blue
#3A18B1
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 5.91
Ocean Blue
#4F42B5
ΔE00 6.23
Blueberry
#464196
ΔE00 6.49
True Blue
#010FCC
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2931AB #ABA329
analogous
#2972AB #2931AB #6229AB
triadic
#2931AB #AB2931 #31AB29
tetradic
#2931AB #AB2972 #ABA329 #29AB62
square
#2931AB #AB2972 #ABA329 #29AB62
split-complementary
#2931AB #AB6229 #72AB29
monochromatic
#111548 #1D237A #2931AB #4049D1 #7178DD
Accessibility & contrast
On white
9.90
#2931AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2931AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2931AB
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2931AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2931AB | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2931ab; /* rgb */ color: rgb(41, 49, 171); /* oklch */ color: oklch(39.9% 0.190 271.2);
Tailwind
colors: {
custom: {
50: '#786ac5',
500: '#2931ab',
950: '#000000',
},
}SCSS
$custom: #2931ab; $custom-light: #786ac5; $custom-dark: #000000;
JSON
{
"hex": "#2931ab",
"rgb": {
"r": 41,
"g": 49,
"b": 171
},
"hsl": {
"h": 236.308,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.39914,
"c": 0.18997,
"h": 271.2
},
"luminance": 0.05608
}Semantic roles & 50–950 ramp
primary
#2931AB
secondary
#C4BF6C
accent
#DB43E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82