#4255AA#4255AA
#4255AA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.137 H 270.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #4255AA |
|---|---|
| RGB | rgb(66, 85, 170) |
| HSL | hsl(229, 44%, 46%) |
| HSV | hsv(229, 61%, 67%) |
| CMYK | cmyk(61.2%, 50%, 0%, 33.3%) |
| CIE-LAB | lab(38.82, 19.64, -47.98) |
| CIE-LCH | lch(38.82, 51.85, 292.26°) |
| OKLab | oklab(47.99% 0.0022 -0.1373) |
| OKLCH | oklch(47.99% 0.137 270.9) |
| XYZ | xyz(12.7485, 10.5565, 39.3882) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.86
Denim Blue
#3B5B92
ΔE00 4.90
Dusky Blue
#475F94
ΔE00 4.99
Cobalt
#0047AB
ΔE00 6.19
Twilight
#4E518B
ΔE00 6.38
Dusk Blue
#26538D
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4255AA #AA9742
analogous
#4289AA #4255AA #6342AA
triadic
#4255AA #AA4255 #55AA42
tetradic
#4255AA #AA4289 #AA9742 #42AA63
square
#4255AA #AA4289 #AA9742 #42AA63
split-complementary
#4255AA #AA6342 #89AA42
monochromatic
#202952 #313F7E #4255AA #6677C3 #929ED5
Accessibility & contrast
On white
6.75
#4255AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#4255AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4255AA
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4255AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4255AA | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#1357A8
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4255aa; /* rgb */ color: rgb(66, 85, 170); /* oklch */ color: oklch(48.0% 0.137 270.9);
Tailwind
colors: {
custom: {
50: '#8084c4',
500: '#4255aa',
950: '#000000',
},
}SCSS
$custom: #4255aa; $custom-light: #8084c4; $custom-dark: #000000;
JSON
{
"hex": "#4255aa",
"rgb": {
"r": 66,
"g": 85,
"b": 170
},
"hsl": {
"h": 229.038,
"s": 44.068,
"l": 46.275
},
"oklch": {
"l": 0.47994,
"c": 0.1373,
"h": 270.9
},
"luminance": 0.10558
}Semantic roles & 50–950 ramp
primary
#4255AA
secondary
#C0B688
accent
#BC54D4
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82