#42489F#42489F
#42489F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.139 H 276.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #42489F |
|---|---|
| RGB | rgb(66, 72, 159) |
| HSL | hsl(236, 41%, 44%) |
| HSV | hsv(236, 58%, 62%) |
| CMYK | cmyk(58.5%, 54.7%, 0%, 37.6%) |
| CIE-LAB | lab(34.59, 24.26, -48.23) |
| CIE-LCH | lch(34.59, 53.99, 296.71°) |
| OKLab | oklab(44.57% 0.0151 -0.1381) |
| OKLCH | oklch(44.57% 0.139 276.2) |
| XYZ | xyz(10.8201, 8.2954, 33.8252) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.90
Ocean Blue
#4F42B5
ΔE00 4.90
Darkslateblue
#483D8B
ΔE00 5.10
Twilight
#4E518B
ΔE00 5.66
Sapphire (survey)
#2138AB
ΔE00 5.85
Cobalt
#0047AB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42489F #9F9942
analogous
#42779F #42489F #6B429F
triadic
#42489F #9F4248 #489F42
tetradic
#42489F #9F4277 #9F9942 #429F6B
square
#42489F #9F4277 #9F9942 #429F6B
split-complementary
#42489F #9F6B42 #779F42
monochromatic
#1E2149 #303474 #42489F #6167BD #8C90CF
Accessibility & contrast
On white
7.90
#42489F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#42489F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42489F
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42489F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42489F | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1155A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#055C6C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #42489f; /* rgb */ color: rgb(66, 72, 159); /* oklch */ color: oklch(44.6% 0.139 276.2);
Tailwind
colors: {
custom: {
50: '#7f7bbc',
500: '#42489f',
950: '#000000',
},
}SCSS
$custom: #42489f; $custom-light: #7f7bbc; $custom-dark: #000000;
JSON
{
"hex": "#42489f",
"rgb": {
"r": 66,
"g": 72,
"b": 159
},
"hsl": {
"h": 236.129,
"s": 41.333,
"l": 44.118
},
"oklch": {
"l": 0.44566,
"c": 0.13897,
"h": 276.2
},
"luminance": 0.08296
}Semantic roles & 50–950 ramp
primary
#42489F
secondary
#BAB782
accent
#C957D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81