#4255BA#4255BA
#4255BA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.160 H 271.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #4255BA |
|---|---|
| RGB | rgb(66, 85, 186) |
| HSL | hsl(231, 48%, 49%) |
| HSV | hsv(231, 65%, 73%) |
| CMYK | cmyk(64.5%, 54.3%, 0%, 27.1%) |
| CIE-LAB | lab(39.91, 25.26, -55.65) |
| CIE-LCH | lch(39.91, 61.12, 294.42°) |
| OKLab | oklab(49.17% 0.0036 -0.1598) |
| OKLCH | oklch(49.17% 0.16 271.3) |
| XYZ | xyz(14.3552, 11.1992, 47.8500) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.71
Warm Blue
#4B57DB
ΔE00 4.91
Iris
#6258C4
ΔE00 5.66
Blue Blue
#2242C7
ΔE00 6.16
Denim Blue
#3B5B92
ΔE00 6.61
Cobalt
#0047AB
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4255BA #BAA742
analogous
#4291BA #4255BA #6B42BA
triadic
#4255BA #BA4255 #55BA42
tetradic
#4255BA #BA4291 #BAA742 #42BA6B
square
#4255BA #BA4291 #BAA742 #42BA6B
split-complementary
#4255BA #BA6B42 #91BA42
monochromatic
#222C60 #32408D #4255BA #6E7DCB #9BA5DB
Accessibility & contrast
On white
6.48
#4255BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#4255BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4255BA
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4255BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4255BA | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B64BE
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4255ba; /* rgb */ color: rgb(66, 85, 186); /* oklch */ color: oklch(49.2% 0.160 271.3);
Tailwind
colors: {
custom: {
50: '#8384cf',
500: '#4255ba',
950: '#000000',
},
}SCSS
$custom: #4255ba; $custom-light: #8384cf; $custom-dark: #000000;
JSON
{
"hex": "#4255ba",
"rgb": {
"r": 66,
"g": 85,
"b": 186
},
"hsl": {
"h": 230.5,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.49165,
"c": 0.15989,
"h": 271.3
},
"luminance": 0.112
}Semantic roles & 50–950 ramp
primary
#4255BA
secondary
#C8BF90
accent
#C251D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82