#2118B3#2118B3
#2118B3 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.3% C 0.223 H 270.3°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2118B3 |
|---|---|
| RGB | rgb(33, 24, 179) |
| HSL | hsl(243, 76%, 40%) |
| HSV | hsv(243, 87%, 70%) |
| CMYK | cmyk(81.6%, 86.6%, 0%, 29.8%) |
| CIE-LAB | lab(24.42, 54.42, -77.02) |
| CIE-LCH | lch(24.42, 94.31, 305.24°) |
| OKLab | oklab(37.27% 0.0013 -0.2228) |
| OKLCH | oklch(37.27% 0.223 270.3) |
| XYZ | xyz(9.0878, 4.2302, 42.9766) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.11
Ultramarine
#2000B1
ΔE00 2.59
True Blue
#010FCC
ΔE00 2.92
Cobalt Blue
#030AA7
ΔE00 3.04
Royal Blue (survey)
#0504AA
ΔE00 3.16
Mediumblue
#0000CD
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2118B3 #AAB318
analogous
#185CB3 #2118B3 #6F18B3
triadic
#2118B3 #B32118 #18B321
tetradic
#2118B3 #B3185C #AAB318 #18B36F
square
#2118B3 #B3185C #AAB318 #18B36F
split-complementary
#2118B3 #B36F18 #5CB318
monochromatic
#0D0A47 #17117D #2118B3 #3126E2 #645CE9
Accessibility & contrast
On white
11.37
#2118B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2118B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2118B3
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2118B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2118B3 | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 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: #2118b3; /* rgb */ color: rgb(33, 24, 179); /* oklch */ color: oklch(37.3% 0.223 270.3);
Tailwind
colors: {
custom: {
50: '#7a5ccb',
500: '#2118b3',
950: '#000000',
},
}SCSS
$custom: #2118b3; $custom-light: #7a5ccb; $custom-dark: #000000;
JSON
{
"hex": "#2118b3",
"rgb": {
"r": 33,
"g": 24,
"b": 179
},
"hsl": {
"h": 243.484,
"s": 76.355,
"l": 39.804
},
"oklch": {
"l": 0.37267,
"c": 0.22281,
"h": 270.3
},
"luminance": 0.04231
}Semantic roles & 50–950 ramp
primary
#2118B3
secondary
#C6CD5A
accent
#F335E8
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982