#2254CA#2254CA
#2254CA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.191 H 263.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2254CA |
|---|---|
| RGB | rgb(34, 84, 202) |
| HSL | hsl(222, 71%, 46%) |
| HSV | hsv(222, 83%, 79%) |
| CMYK | cmyk(83.2%, 58.4%, 0%, 20.8%) |
| CIE-LAB | lab(39.48, 27.93, -65.73) |
| CIE-LCH | lch(39.48, 71.41, 293.02°) |
| OKLab | oklab(48.85% -0.0216 -0.1901) |
| OKLCH | oklch(48.85% 0.191 263.5) |
| XYZ | xyz(14.4869, 10.9432, 57.2144) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.83
Azul
#1D5DEC
ΔE00 5.10
Warm Blue
#4B57DB
ΔE00 5.33
Denim
#1560BD
ΔE00 5.54
Blue Blue
#2242C7
ΔE00 5.73
Blue (survey)
#0343DF
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2254CA #CA9822
analogous
#22A8CA #2254CA #4422CA
triadic
#2254CA #CA2254 #54CA22
tetradic
#2254CA #CA22A8 #CA9822 #22CA44
square
#2254CA #CA22A8 #CA9822 #22CA44
split-complementary
#2254CA #CA4422 #A8CA22
monochromatic
#102861 #193E96 #2254CA #4976E0 #7D9DE9
Accessibility & contrast
On white
6.59
#2254CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2254CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2254CA
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2254CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2254CA | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2254ca; /* rgb */ color: rgb(34, 84, 202); /* oklch */ color: oklch(48.8% 0.191 263.5);
Tailwind
colors: {
custom: {
50: '#7b83db',
500: '#2254ca',
950: '#000000',
},
}SCSS
$custom: #2254ca; $custom-light: #7b83db; $custom-dark: #000000;
JSON
{
"hex": "#2254ca",
"rgb": {
"r": 34,
"g": 84,
"b": 202
},
"hsl": {
"h": 222.143,
"s": 71.186,
"l": 46.275
},
"oklch": {
"l": 0.48846,
"c": 0.1913,
"h": 263.5
},
"luminance": 0.10945
}Semantic roles & 50–950 ramp
primary
#2254CA
secondary
#D1B677
accent
#B83AEE
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0A15
muted
#7C7C83