#2150B2#2150B2
#2150B2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.165 H 262.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2150B2 |
|---|---|
| RGB | rgb(33, 80, 178) |
| HSL | hsl(221, 69%, 41%) |
| HSV | hsv(221, 81%, 70%) |
| CMYK | cmyk(81.5%, 55.1%, 0%, 30.2%) |
| CIE-LAB | lab(36.51, 21.19, -56.54) |
| CIE-LCH | lch(36.51, 60.38, 290.54°) |
| OKLab | oklab(46.01% -0.0213 -0.1632) |
| OKLCH | oklch(46.01% 0.165 262.6) |
| XYZ | xyz(11.5289, 9.2736, 43.2932) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.45
Cobalt
#0047AB
ΔE00 3.07
Cobalt (survey)
#1E488F
ΔE00 5.12
Dusk Blue
#26538D
ΔE00 5.16
Denim Blue
#3B5B92
ΔE00 5.63
Blue Blue
#2242C7
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2150B2 #B28321
analogous
#2199B2 #2150B2 #3B21B2
triadic
#2150B2 #B22150 #50B221
tetradic
#2150B2 #B22199 #B28321 #21B23B
square
#2150B2 #B22199 #B28321 #21B23B
split-complementary
#2150B2 #B23B21 #99B221
monochromatic
#0E224B #17397E #2150B2 #366BDA #6A91E3
Accessibility & contrast
On white
7.36
#2150B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2150B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2150B2
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2150B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2150B2 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2150b2; /* rgb */ color: rgb(33, 80, 178); /* oklch */ color: oklch(46.0% 0.165 262.6);
Tailwind
colors: {
custom: {
50: '#7580ca',
500: '#2150b2',
950: '#000000',
},
}SCSS
$custom: #2150b2; $custom-light: #7580ca; $custom-dark: #000000;
JSON
{
"hex": "#2150b2",
"rgb": {
"r": 33,
"g": 80,
"b": 178
},
"hsl": {
"h": 220.552,
"s": 68.72,
"l": 41.373
},
"oklch": {
"l": 0.46006,
"c": 0.16456,
"h": 262.6
},
"luminance": 0.09275
}Semantic roles & 50–950 ramp
primary
#2150B2
secondary
#C9A966
accent
#B33CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82