#40499B#40499B
#40499B is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.132 H 274.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #40499B |
|---|---|
| RGB | rgb(64, 73, 155) |
| HSL | hsl(234, 42%, 43%) |
| HSV | hsv(234, 59%, 61%) |
| CMYK | cmyk(58.7%, 52.9%, 0%, 39.2%) |
| CIE-LAB | lab(34.44, 21.83, -46.07) |
| CIE-LCH | lch(34.44, 50.98, 295.35°) |
| OKLab | oklab(44.33% 0.0114 -0.1318) |
| OKLCH | oklch(44.33% 0.132 274.9) |
| XYZ | xyz(10.4114, 8.2209, 32.0421) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.31
Twilight
#4E518B
ΔE00 5.14
Darkslateblue
#483D8B
ΔE00 5.31
Cobalt (survey)
#1E488F
ΔE00 5.80
Ocean Blue
#4F42B5
ΔE00 5.83
Cobalt
#0047AB
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40499B #9B9240
analogous
#40769B #40499B #64409B
triadic
#40499B #9B4049 #499B40
tetradic
#40499B #9B4076 #9B9240 #409B64
square
#40499B #9B4076 #9B9240 #409B64
split-complementary
#40499B #9B6440 #769B40
monochromatic
#1C2044 #2E3570 #40499B #5C66BC #888FCE
Accessibility & contrast
On white
7.94
#40499B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#40499B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40499B
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40499B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40499B | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B559E
Deuteranopia (green-blind)
#054D99
Tritanopia (blue-blind)
#025C6B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #40499b; /* rgb */ color: rgb(64, 73, 155); /* oklch */ color: oklch(44.3% 0.132 274.9);
Tailwind
colors: {
custom: {
50: '#7d7bb9',
500: '#40499b',
950: '#000000',
},
}SCSS
$custom: #40499b; $custom-light: #7d7bb9; $custom-dark: #000000;
JSON
{
"hex": "#40499b",
"rgb": {
"r": 64,
"g": 73,
"b": 155
},
"hsl": {
"h": 234.066,
"s": 41.553,
"l": 42.941
},
"oklch": {
"l": 0.44327,
"c": 0.13232,
"h": 274.9
},
"luminance": 0.08222
}Semantic roles & 50–950 ramp
primary
#40499B
secondary
#B8B37E
accent
#C556D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0911
muted
#7C7B80