#4155CB#4155CB
#4155CB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.183 H 271.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4155CB |
|---|---|
| RGB | rgb(65, 85, 203) |
| HSL | hsl(231, 57%, 53%) |
| HSV | hsv(231, 68%, 80%) |
| CMYK | cmyk(68%, 58.1%, 0%, 20.4%) |
| CIE-LAB | lab(41.11, 31.10, -63.61) |
| CIE-LCH | lch(41.11, 70.80, 296.05°) |
| OKLab | oklab(50.44% 0.0032 -0.1833) |
| OKLCH | oklch(50.44% 0.183 271) |
| XYZ | xyz(16.2043, 11.9311, 57.9373) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.76
Azul
#1D5DEC
ΔE00 5.18
Iris
#6258C4
ΔE00 5.19
Sapphire
#0F52BA
ΔE00 5.57
Blue (survey)
#0343DF
ΔE00 5.86
Blue Blue
#2242C7
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4155CB #CBB741
analogous
#419ACB #4155CB #7241CB
triadic
#4155CB #CB4155 #55CB41
tetradic
#4155CB #CB419A #CBB741 #41CB72
square
#4155CB #CB419A #CBB741 #41CB72
split-complementary
#4155CB #CB7241 #9ACB41
monochromatic
#1F2B72 #2C3EA2 #4155CB #7180D8 #A1ABE5
Accessibility & contrast
On white
6.20
#4155CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#4155CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4155CB
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4155CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4155CB | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4155cb; /* rgb */ color: rgb(65, 85, 203); /* oklch */ color: oklch(50.4% 0.183 271.0);
Tailwind
colors: {
custom: {
50: '#8684dc',
500: '#4155cb',
950: '#000000',
},
}SCSS
$custom: #4155cb; $custom-light: #8684dc; $custom-dark: #000000;
JSON
{
"hex": "#4155cb",
"rgb": {
"r": 65,
"g": 85,
"b": 203
},
"hsl": {
"h": 231.304,
"s": 57.025,
"l": 52.549
},
"oklch": {
"l": 0.50436,
"c": 0.1833,
"h": 271
},
"luminance": 0.11933
}Semantic roles & 50–950 ramp
primary
#4155CB
secondary
#D2C996
accent
#CA48E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83