#40499C#40499C
#40499C is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.134 H 274.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #40499C |
|---|---|
| RGB | rgb(64, 73, 156) |
| HSL | hsl(234, 42%, 43%) |
| HSV | hsv(234, 59%, 61%) |
| CMYK | cmyk(59%, 53.2%, 0%, 38.8%) |
| CIE-LAB | lab(34.51, 22.18, -46.56) |
| CIE-LCH | lch(34.51, 51.57, 295.47°) |
| OKLab | oklab(44.4% 0.0115 -0.1333) |
| OKLCH | oklch(44.4% 0.134 274.9) |
| XYZ | xyz(10.4957, 8.2546, 32.4863) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.32
Twilight
#4E518B
ΔE00 5.26
Darkslateblue
#483D8B
ΔE00 5.36
Ocean Blue
#4F42B5
ΔE00 5.70
Cobalt (survey)
#1E488F
ΔE00 5.85
Cobalt
#0047AB
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40499C #9C9340
analogous
#40779C #40499C #65409C
triadic
#40499C #9C4049 #499C40
tetradic
#40499C #9C4077 #9C9340 #409C65
square
#40499C #9C4077 #9C9340 #409C65
split-complementary
#40499C #9C6540 #779C40
monochromatic
#1C2045 #2E3571 #40499C #5D66BC #888FCE
Accessibility & contrast
On white
7.92
#40499C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#40499C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40499C
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40499C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40499C | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19559F
Deuteranopia (green-blind)
#014D9A
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #40499c; /* rgb */ color: rgb(64, 73, 156); /* oklch */ color: oklch(44.4% 0.134 274.9);
Tailwind
colors: {
custom: {
50: '#7d7bba',
500: '#40499c',
950: '#000000',
},
}SCSS
$custom: #40499c; $custom-light: #7d7bba; $custom-dark: #000000;
JSON
{
"hex": "#40499c",
"rgb": {
"r": 64,
"g": 73,
"b": 156
},
"hsl": {
"h": 234.13,
"s": 41.818,
"l": 43.137
},
"oklch": {
"l": 0.444,
"c": 0.13377,
"h": 274.9
},
"luminance": 0.08255
}Semantic roles & 50–950 ramp
primary
#40499C
secondary
#B9B37F
accent
#C656D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0912
muted
#7C7B81