#4061D5#4061D5
#4061D5 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.182 H 267.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4061D5 |
|---|---|
| RGB | rgb(64, 97, 213) |
| HSL | hsl(227, 64%, 54%) |
| HSV | hsv(227, 70%, 84%) |
| CMYK | cmyk(70%, 54.5%, 0%, 16.5%) |
| CIE-LAB | lab(44.86, 26.89, -63.26) |
| CIE-LCH | lch(44.86, 68.74, 293.03°) |
| OKLab | oklab(53.47% -0.0071 -0.1821) |
| OKLCH | oklch(53.47% 0.182 267.8) |
| XYZ | xyz(18.3951, 14.4416, 64.7560) |
| Luminance | 0.1444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.08
Royal Blue
#4169E1
ΔE00 3.13
Warm Blue
#4B57DB
ΔE00 4.11
Bright Blue
#0165FC
ΔE00 4.90
Cornflower Blue
#5170D7
ΔE00 5.21
Dark Periwinkle
#665FD1
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4061D5 #D5B440
analogous
#40ACD5 #4061D5 #6A40D5
triadic
#4061D5 #D54061 #61D540
tetradic
#4061D5 #D540AC #D5B440 #40D56A
square
#4061D5 #D540AC #D5B440 #40D56A
split-complementary
#4061D5 #D56A40 #ACD540
monochromatic
#1C327F #2745B1 #4061D5 #728BE0 #A4B4EB
Accessibility & contrast
On white
5.40
#4061D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#4061D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4061D5
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4061D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4061D5 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4061d5; /* rgb */ color: rgb(64, 97, 213); /* oklch */ color: oklch(53.5% 0.182 267.8);
Tailwind
colors: {
custom: {
50: '#878de3',
500: '#4061d5',
950: '#000000',
},
}SCSS
$custom: #4061d5; $custom-light: #878de3; $custom-dark: #000000;
JSON
{
"hex": "#4061d5",
"rgb": {
"r": 64,
"g": 97,
"b": 213
},
"hsl": {
"h": 226.711,
"s": 63.948,
"l": 54.314
},
"oklch": {
"l": 0.53465,
"c": 0.18225,
"h": 267.8
},
"luminance": 0.14443
}Semantic roles & 50–950 ramp
primary
#4061D5
secondary
#D8CA99
accent
#C241E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84