#2150C2#2150C2
#2150C2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.186 H 263.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2150C2 |
|---|---|
| RGB | rgb(33, 80, 194) |
| HSL | hsl(222, 71%, 45%) |
| HSV | hsv(222, 83%, 76%) |
| CMYK | cmyk(83%, 58.8%, 0%, 23.9%) |
| CIE-LAB | lab(37.76, 27.40, -63.89) |
| CIE-LCH | lch(37.76, 69.52, 293.21°) |
| OKLab | oklab(47.34% -0.0203 -0.1848) |
| OKLCH | oklch(47.34% 0.186 263.7) |
| XYZ | xyz(13.2300, 9.9541, 52.2525) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.25
Cobalt
#0047AB
ΔE00 4.39
Blue Blue
#2242C7
ΔE00 4.66
Blue (survey)
#0343DF
ΔE00 5.39
Warm Blue
#4B57DB
ΔE00 6.26
Denim
#1560BD
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2150C2 #C29321
analogous
#21A1C2 #2150C2 #4221C2
triadic
#2150C2 #C22150 #50C221
tetradic
#2150C2 #C221A1 #C29321 #21C242
square
#2150C2 #C221A1 #C29321 #21C242
split-complementary
#2150C2 #C24221 #A1C221
monochromatic
#0F2559 #183A8E #2150C2 #416FDF #7697E8
Accessibility & contrast
On white
7.02
#2150C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2150C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2150C2
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2150C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2150C2 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0052C0
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2150c2; /* rgb */ color: rgb(33, 80, 194); /* oklch */ color: oklch(47.3% 0.186 263.7);
Tailwind
colors: {
custom: {
50: '#7980d5',
500: '#2150c2',
950: '#000000',
},
}SCSS
$custom: #2150c2; $custom-light: #7980d5; $custom-dark: #000000;
JSON
{
"hex": "#2150c2",
"rgb": {
"r": 33,
"g": 80,
"b": 194
},
"hsl": {
"h": 222.484,
"s": 70.925,
"l": 44.51
},
"oklch": {
"l": 0.47343,
"c": 0.18588,
"h": 263.7
},
"luminance": 0.09956
}Semantic roles & 50–950 ramp
primary
#2150C2
secondary
#CFB370
accent
#B93AEE
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83