#4255C1#4255C1
#4255C1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.170 H 271.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4255C1 |
|---|---|
| RGB | rgb(66, 85, 193) |
| HSL | hsl(231, 51%, 51%) |
| HSV | hsv(231, 66%, 76%) |
| CMYK | cmyk(65.8%, 56%, 0%, 24.3%) |
| CIE-LAB | lab(40.42, 27.73, -58.93) |
| CIE-LCH | lch(40.42, 65.12, 295.20°) |
| OKLab | oklab(49.7% 0.0039 -0.1695) |
| OKLCH | oklch(49.7% 0.17 271.3) |
| XYZ | xyz(15.1177, 11.5041, 51.8656) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.97
Sapphire
#0F52BA
ΔE00 5.00
Iris
#6258C4
ΔE00 5.30
Blue Blue
#2242C7
ΔE00 5.94
Azul
#1D5DEC
ΔE00 6.17
Blue (survey)
#0343DF
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4255C1 #C1AE42
analogous
#4294C1 #4255C1 #6E42C1
triadic
#4255C1 #C14255 #55C142
tetradic
#4255C1 #C14294 #C1AE42 #42C16E
square
#4255C1 #C14294 #C1AE42 #42C16E
split-complementary
#4255C1 #C16E42 #94C142
monochromatic
#222C67 #314095 #4255C1 #707ED0 #9EA8DF
Accessibility & contrast
On white
6.36
#4255C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#4255C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4255C1
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4255C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4255C1 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4255c1; /* rgb */ color: rgb(66, 85, 193); /* oklch */ color: oklch(49.7% 0.170 271.3);
Tailwind
colors: {
custom: {
50: '#8484d4',
500: '#4255c1',
950: '#000000',
},
}SCSS
$custom: #4255c1; $custom-light: #8484d4; $custom-dark: #000000;
JSON
{
"hex": "#4255c1",
"rgb": {
"r": 66,
"g": 85,
"b": 193
},
"hsl": {
"h": 231.024,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.49702,
"c": 0.16952,
"h": 271.3
},
"luminance": 0.11506
}Semantic roles & 50–950 ramp
primary
#4255C1
secondary
#CCC393
accent
#C54EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83