#4054BB#4054BB
#4054BB is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.9% C 0.163 H 270.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #4054BB |
|---|---|
| RGB | rgb(64, 84, 187) |
| HSL | hsl(230, 49%, 49%) |
| HSV | hsv(230, 66%, 73%) |
| CMYK | cmyk(65.8%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(39.61, 25.93, -56.74) |
| CIE-LCH | lch(39.61, 62.38, 294.56°) |
| OKLab | oklab(48.93% 0.0025 -0.1631) |
| OKLCH | oklch(48.93% 0.163 270.9) |
| XYZ | xyz(14.2513, 11.0172, 48.3796) |
| Luminance | 0.1102 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.51
Warm Blue
#4B57DB
ΔE00 4.90
Blue Blue
#2242C7
ΔE00 5.79
Iris
#6258C4
ΔE00 5.84
Cobalt
#0047AB
ΔE00 6.37
Ocean Blue
#4F42B5
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4054BB #BBA740
analogous
#4092BB #4054BB #6A40BB
triadic
#4054BB #BB4054 #54BB40
tetradic
#4054BB #BB4092 #BBA740 #40BB6A
square
#4054BB #BB4092 #BBA740 #40BB6A
split-complementary
#4054BB #BB6A40 #92BB40
monochromatic
#212B60 #30408D #4054BB #6C7BCD #99A4DC
Accessibility & contrast
On white
6.56
#4054BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#4054BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4054BB
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4054BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4054BB | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4054bb; /* rgb */ color: rgb(64, 84, 187); /* oklch */ color: oklch(48.9% 0.163 270.9);
Tailwind
colors: {
custom: {
50: '#8283d0',
500: '#4054bb',
950: '#000000',
},
}SCSS
$custom: #4054bb; $custom-light: #8283d0; $custom-dark: #000000;
JSON
{
"hex": "#4054bb",
"rgb": {
"r": 64,
"g": 84,
"b": 187
},
"hsl": {
"h": 230.244,
"s": 49.004,
"l": 49.216
},
"oklch": {
"l": 0.48929,
"c": 0.16311,
"h": 270.9
},
"luminance": 0.11018
}Semantic roles & 50–950 ramp
primary
#4054BB
secondary
#C8BF8F
accent
#C24FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82