#4065AB#4065AB
#4065AB is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.4% C 0.119 H 262.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4065AB |
|---|---|
| RGB | rgb(64, 101, 171) |
| HSL | hsl(219, 46%, 46%) |
| HSV | hsv(219, 63%, 67%) |
| CMYK | cmyk(62.6%, 40.9%, 0%, 32.9%) |
| CIE-LAB | lab(43.27, 9.33, -41.47) |
| CIE-LCH | lch(43.27, 42.51, 282.68°) |
| OKLab | oklab(51.39% -0.0165 -0.118) |
| OKLCH | oklch(51.39% 0.119 262) |
| XYZ | xyz(14.1162, 13.3364, 40.3505) |
| Luminance | 0.1334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.13
Denim
#1560BD
ΔE00 3.90
Dusky Blue
#475F94
ΔE00 4.14
Mid Blue
#276AB3
ΔE00 4.32
Denim Blue
#3B5B92
ΔE00 4.52
Denim (survey)
#3B638C
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4065AB #AB8640
analogous
#409AAB #4065AB #5040AB
triadic
#4065AB #AB4065 #65AB40
tetradic
#4065AB #AB409A #AB8640 #40AB50
square
#4065AB #AB409A #AB8640 #40AB50
split-complementary
#4065AB #AB5040 #9AAB40
monochromatic
#1F3052 #2F4B7E #4065AB #6385C5 #90A8D5
Accessibility & contrast
On white
5.73
#4065AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#4065AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4065AB
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4065AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4065AB | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466CAE
Deuteranopia (green-blind)
#3762AA
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4065ab; /* rgb */ color: rgb(64, 101, 171); /* oklch */ color: oklch(51.4% 0.119 262.0);
Tailwind
colors: {
custom: {
50: '#7f90c4',
500: '#4065ab',
950: '#000000',
},
}SCSS
$custom: #4065ab; $custom-light: #7f90c4; $custom-dark: #000000;
JSON
{
"hex": "#4065ab",
"rgb": {
"r": 64,
"g": 101,
"b": 171
},
"hsl": {
"h": 219.252,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.51388,
"c": 0.11915,
"h": 262
},
"luminance": 0.13338
}Semantic roles & 50–950 ramp
primary
#4065AB
secondary
#C1AC86
accent
#A853D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82