#2251CA#2251CA
#2251CA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.195 H 264.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2251CA |
|---|---|
| RGB | rgb(34, 81, 202) |
| HSL | hsl(223, 71%, 46%) |
| HSV | hsv(223, 83%, 79%) |
| CMYK | cmyk(83.2%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(38.70, 29.89, -67.00) |
| CIE-LCH | lch(38.70, 73.37, 294.04°) |
| OKLab | oklab(48.26% -0.0199 -0.1939) |
| OKLCH | oklch(48.26% 0.195 264.1) |
| XYZ | xyz(14.2590, 10.4875, 57.1384) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.08
Blue Blue
#2242C7
ΔE00 4.71
Blue (survey)
#0343DF
ΔE00 4.88
Warm Blue
#4B57DB
ΔE00 5.31
Cobalt
#0047AB
ΔE00 5.43
Azul
#1D5DEC
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2251CA #CA9B22
analogous
#22A5CA #2251CA #4722CA
triadic
#2251CA #CA2251 #51CA22
tetradic
#2251CA #CA22A5 #CA9B22 #22CA47
square
#2251CA #CA22A5 #CA9B22 #22CA47
split-complementary
#2251CA #CA4722 #A5CA22
monochromatic
#102761 #193C96 #2251CA #4973E0 #7D9BE9
Accessibility & contrast
On white
6.78
#2251CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2251CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2251CA
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2251CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2251CA | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2251ca; /* rgb */ color: rgb(34, 81, 202); /* oklch */ color: oklch(48.3% 0.195 264.1);
Tailwind
colors: {
custom: {
50: '#7b81db',
500: '#2251ca',
950: '#000000',
},
}SCSS
$custom: #2251ca; $custom-light: #7b81db; $custom-dark: #000000;
JSON
{
"hex": "#2251ca",
"rgb": {
"r": 34,
"g": 81,
"b": 202
},
"hsl": {
"h": 223.214,
"s": 71.186,
"l": 46.275
},
"oklch": {
"l": 0.48261,
"c": 0.19488,
"h": 264.1
},
"luminance": 0.10489
}Semantic roles & 50–950 ramp
primary
#2251CA
secondary
#D1B877
accent
#BC3AEE
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83