#2117B3#2117B3
#2117B3 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.2% C 0.223 H 270.4°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2117B3 |
|---|---|
| RGB | rgb(33, 23, 179) |
| HSL | hsl(244, 77%, 40%) |
| HSV | hsv(244, 87%, 70%) |
| CMYK | cmyk(81.6%, 87.2%, 0%, 29.8%) |
| CIE-LAB | lab(24.29, 54.81, -77.24) |
| CIE-LCH | lch(24.29, 94.71, 305.36°) |
| OKLab | oklab(37.18% 0.0014 -0.2234) |
| OKLCH | oklch(37.18% 0.223 270.4) |
| XYZ | xyz(9.0675, 4.1897, 42.9699) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.11
Ultramarine
#2000B1
ΔE00 2.44
True Blue
#010FCC
ΔE00 2.91
Cobalt Blue
#030AA7
ΔE00 2.94
Royal Blue (survey)
#0504AA
ΔE00 3.04
Mediumblue
#0000CD
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2117B3 #A9B317
analogous
#175BB3 #2117B3 #6F17B3
triadic
#2117B3 #B32117 #17B321
tetradic
#2117B3 #B3175B #A9B317 #17B36F
square
#2117B3 #B3175B #A9B317 #17B36F
split-complementary
#2117B3 #B36F17 #5BB317
monochromatic
#0D0947 #17107D #2117B3 #3124E3 #645BEA
Accessibility & contrast
On white
11.42
#2117B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2117B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2117B3
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2117B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2117B3 | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041B7
Deuteranopia (green-blind)
#0032B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2117b3; /* rgb */ color: rgb(33, 23, 179); /* oklch */ color: oklch(37.2% 0.223 270.4);
Tailwind
colors: {
custom: {
50: '#7a5bcb',
500: '#2117b3',
950: '#000000',
},
}SCSS
$custom: #2117b3; $custom-light: #7a5bcb; $custom-dark: #000000;
JSON
{
"hex": "#2117b3",
"rgb": {
"r": 33,
"g": 23,
"b": 179
},
"hsl": {
"h": 243.846,
"s": 77.228,
"l": 39.608
},
"oklch": {
"l": 0.37179,
"c": 0.22341,
"h": 270.4
},
"luminance": 0.04191
}Semantic roles & 50–950 ramp
primary
#2117B3
secondary
#C6CD58
accent
#F434E7
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982