#4055BA#4055BA
#4055BA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.160 H 270.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #4055BA |
|---|---|
| RGB | rgb(64, 85, 186) |
| HSL | hsl(230, 49%, 49%) |
| HSV | hsv(230, 66%, 73%) |
| CMYK | cmyk(65.6%, 54.3%, 0%, 27.1%) |
| CIE-LAB | lab(39.80, 24.93, -55.84) |
| CIE-LCH | lch(39.80, 61.16, 294.06°) |
| OKLab | oklab(49.05% 0.0015 -0.1604) |
| OKLCH | oklch(49.05% 0.16 270.5) |
| XYZ | xyz(14.2228, 11.1309, 47.8438) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.41
Warm Blue
#4B57DB
ΔE00 5.03
Iris
#6258C4
ΔE00 5.95
Blue Blue
#2242C7
ΔE00 6.13
Cobalt
#0047AB
ΔE00 6.43
Denim Blue
#3B5B92
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4055BA #BAA540
analogous
#4092BA #4055BA #6840BA
triadic
#4055BA #BA4055 #55BA40
tetradic
#4055BA #BA4092 #BAA540 #40BA68
square
#4055BA #BA4092 #BAA540 #40BA68
split-complementary
#4055BA #BA6840 #92BA40
monochromatic
#212B5F #30408C #4055BA #6B7CCC #99A4DC
Accessibility & contrast
On white
6.51
#4055BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#4055BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4055BA
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4055BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4055BA | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0963BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4055ba; /* rgb */ color: rgb(64, 85, 186); /* oklch */ color: oklch(49.0% 0.160 270.5);
Tailwind
colors: {
custom: {
50: '#8284cf',
500: '#4055ba',
950: '#000000',
},
}SCSS
$custom: #4055ba; $custom-light: #8284cf; $custom-dark: #000000;
JSON
{
"hex": "#4055ba",
"rgb": {
"r": 64,
"g": 85,
"b": 186
},
"hsl": {
"h": 229.672,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.49049,
"c": 0.16046,
"h": 270.5
},
"luminance": 0.11132
}Semantic roles & 50–950 ramp
primary
#4055BA
secondary
#C8BE8E
accent
#C14FD8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82