#2254C9#2254C9
#2254C9 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.190 H 263.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2254C9 |
|---|---|
| RGB | rgb(34, 84, 201) |
| HSL | hsl(222, 71%, 46%) |
| HSV | hsv(222, 83%, 79%) |
| CMYK | cmyk(83.1%, 58.2%, 0%, 21.2%) |
| CIE-LAB | lab(39.40, 27.54, -65.28) |
| CIE-LCH | lch(39.40, 70.85, 292.88°) |
| OKLab | oklab(48.76% -0.0217 -0.1887) |
| OKLCH | oklch(48.76% 0.19 263.5) |
| XYZ | xyz(14.3689, 10.8960, 56.5928) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.70
Azul
#1D5DEC
ΔE00 5.21
Warm Blue
#4B57DB
ΔE00 5.44
Denim
#1560BD
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 5.75
Cobalt
#0047AB
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2254C9 #C99722
analogous
#22A7C9 #2254C9 #4322C9
triadic
#2254C9 #C92254 #54C922
tetradic
#2254C9 #C922A7 #C99722 #22C943
square
#2254C9 #C922A7 #C99722 #22C943
split-complementary
#2254C9 #C94322 #A7C922
monochromatic
#102860 #193E95 #2254C9 #4876E0 #7C9DE9
Accessibility & contrast
On white
6.60
#2254C9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#2254C9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2254C9
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2254C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2254C9 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2254c9; /* rgb */ color: rgb(34, 84, 201); /* oklch */ color: oklch(48.8% 0.190 263.5);
Tailwind
colors: {
custom: {
50: '#7b83da',
500: '#2254c9',
950: '#000000',
},
}SCSS
$custom: #2254c9; $custom-light: #7b83da; $custom-dark: #000000;
JSON
{
"hex": "#2254c9",
"rgb": {
"r": 34,
"g": 84,
"b": 201
},
"hsl": {
"h": 222.036,
"s": 71.064,
"l": 46.078
},
"oklch": {
"l": 0.48761,
"c": 0.18999,
"h": 263.5
},
"luminance": 0.10898
}Semantic roles & 50–950 ramp
primary
#2254C9
secondary
#D1B676
accent
#B83AEE
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0A15
muted
#7C7C83