#40439F#40439F
#40439F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.146 H 277.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #40439F |
|---|---|
| RGB | rgb(64, 67, 159) |
| HSL | hsl(238, 43%, 44%) |
| HSV | hsv(238, 60%, 62%) |
| CMYK | cmyk(59.7%, 57.9%, 0%, 37.6%) |
| CIE-LAB | lab(33.15, 27.12, -50.57) |
| CIE-LCH | lch(33.15, 57.38, 298.21°) |
| OKLab | oklab(43.45% 0.0179 -0.1451) |
| OKLCH | oklch(43.45% 0.146 277) |
| XYZ | xyz(10.3775, 7.6067, 33.7156) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.06
Ocean Blue
#4F42B5
ΔE00 4.30
Darkslateblue
#483D8B
ΔE00 4.34
Sapphire (survey)
#2138AB
ΔE00 4.65
Blue Blue
#2242C7
ΔE00 5.99
Cobalt
#0047AB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40439F #9F9C40
analogous
#40729F #40439F #6C409F
triadic
#40439F #9F4043 #439F40
tetradic
#40439F #9F4072 #9F9C40 #409F6C
square
#40439F #9F4072 #9F9C40 #409F6C
split-complementary
#40439F #9F6C40 #729F40
monochromatic
#1D1E48 #2E3173 #40439F #5E61BE #8A8CD0
Accessibility & contrast
On white
8.33
#40439F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#40439F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40439F
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40439F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40439F | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #40439f; /* rgb */ color: rgb(64, 67, 159); /* oklch */ color: oklch(43.5% 0.146 277.0);
Tailwind
colors: {
custom: {
50: '#7e77bc',
500: '#40439f',
950: '#000000',
},
}SCSS
$custom: #40439f; $custom-light: #7e77bc; $custom-dark: #000000;
JSON
{
"hex": "#40439f",
"rgb": {
"r": 64,
"g": 67,
"b": 159
},
"hsl": {
"h": 238.105,
"s": 42.601,
"l": 43.725
},
"oklch": {
"l": 0.43454,
"c": 0.14623,
"h": 277
},
"luminance": 0.07608
}Semantic roles & 50–950 ramp
primary
#40439F
secondary
#BBB980
accent
#CE55D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81