#2145C3#2145C3
#2145C3 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.3% C 0.200 H 265.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2145C3 |
|---|---|
| RGB | rgb(33, 69, 195) |
| HSL | hsl(227, 71%, 45%) |
| HSV | hsv(227, 83%, 76%) |
| CMYK | cmyk(83.1%, 64.6%, 0%, 23.5%) |
| CIE-LAB | lab(35.04, 34.96, -68.93) |
| CIE-LCH | lch(35.04, 77.29, 296.89°) |
| OKLab | oklab(45.35% -0.0145 -0.1997) |
| OKLCH | oklch(45.35% 0.2 265.9) |
| XYZ | xyz(12.6022, 8.5182, 52.5991) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.14
Blue (survey)
#0343DF
ΔE00 3.41
Cobalt
#0047AB
ΔE00 4.65
Sapphire (survey)
#2138AB
ΔE00 4.79
Sapphire
#0F52BA
ΔE00 5.36
Ocean Blue
#4F42B5
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2145C3 #C39F21
analogous
#2196C3 #2145C3 #4E21C3
triadic
#2145C3 #C32145 #45C321
tetradic
#2145C3 #C32196 #C39F21 #21C34E
square
#2145C3 #C32196 #C39F21 #21C34E
split-complementary
#2145C3 #C34E21 #96C321
monochromatic
#0F205A #18328F #2145C3 #4265DF #7790E8
Accessibility & contrast
On white
7.77
#2145C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2145C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2145C3
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2145C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2145C3 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#004BC1
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2145c3; /* rgb */ color: rgb(33, 69, 195); /* oklch */ color: oklch(45.3% 0.200 265.9);
Tailwind
colors: {
custom: {
50: '#7a78d6',
500: '#2145c3',
950: '#000000',
},
}SCSS
$custom: #2145c3; $custom-light: #7a78d6; $custom-dark: #000000;
JSON
{
"hex": "#2145c3",
"rgb": {
"r": 33,
"g": 69,
"b": 195
},
"hsl": {
"h": 226.667,
"s": 71.053,
"l": 44.706
},
"oklch": {
"l": 0.45348,
"c": 0.20018,
"h": 265.9
},
"luminance": 0.0852
}Semantic roles & 50–950 ramp
primary
#2145C3
secondary
#CFBA71
accent
#C63AEE
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83