#4068C7#4068C7
#4068C7 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.9% C 0.155 H 264.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4068C7 |
|---|---|
| RGB | rgb(64, 104, 199) |
| HSL | hsl(222, 55%, 52%) |
| HSV | hsv(222, 68%, 78%) |
| CMYK | cmyk(67.8%, 47.7%, 0%, 22%) |
| CIE-LAB | lab(45.79, 17.41, -53.73) |
| CIE-LCH | lch(45.79, 56.48, 287.96°) |
| OKLab | oklab(53.87% -0.0146 -0.154) |
| OKLCH | oklch(53.87% 0.155 264.6) |
| XYZ | xyz(17.3699, 15.1124, 56.0233) |
| Luminance | 0.1511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.39
Royal Blue
#4169E1
ΔE00 3.44
Cornflower Blue
#5170D7
ΔE00 4.16
Denim
#1560BD
ΔE00 4.81
Medium Blue
#2C6FBB
ΔE00 5.18
Mid Blue
#276AB3
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4068C7 #C79F40
analogous
#40ACC7 #4068C7 #5C40C7
triadic
#4068C7 #C74068 #68C740
tetradic
#4068C7 #C740AC #C79F40 #40C75C
square
#4068C7 #C740AC #C79F40 #40C75C
split-complementary
#4068C7 #C75C40 #ACC740
monochromatic
#20376D #2E4E9C #4068C7 #6F8DD5 #9FB3E3
Accessibility & contrast
On white
5.22
#4068C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#4068C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4068C7
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4068C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4068C7 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3673CB
Deuteranopia (green-blind)
#1667C5
Tritanopia (blue-blind)
#007E8E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4068c7; /* rgb */ color: rgb(64, 104, 199); /* oklch */ color: oklch(53.9% 0.155 264.6);
Tailwind
colors: {
custom: {
50: '#8492d9',
500: '#4068c7',
950: '#000000',
},
}SCSS
$custom: #4068c7; $custom-light: #8492d9; $custom-dark: #000000;
JSON
{
"hex": "#4068c7",
"rgb": {
"r": 64,
"g": 104,
"b": 199
},
"hsl": {
"h": 222.222,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.53869,
"c": 0.15466,
"h": 264.6
},
"luminance": 0.15114
}Semantic roles & 50–950 ramp
primary
#4068C7
secondary
#CFBD94
accent
#B24ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0D15
muted
#7D7D83