#42497F#42497F
#42497F is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.6% C 0.090 H 276.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #42497F |
|---|---|
| RGB | rgb(66, 73, 127) |
| HSL | hsl(233, 32%, 38%) |
| HSV | hsv(233, 48%, 50%) |
| CMYK | cmyk(48%, 42.5%, 0%, 50.2%) |
| CIE-LAB | lab(32.82, 12.80, -31.50) |
| CIE-LCH | lch(32.82, 34.00, 292.11°) |
| OKLab | oklab(42.57% 0.0099 -0.089) |
| OKLCH | oklch(42.57% 0.09 276.3) |
| XYZ | xyz(8.4589, 7.4552, 21.0678) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.29
Dusk
#4E5481
ΔE00 4.12
Blueberry
#464196
ΔE00 5.89
Darkslateblue
#483D8B
ΔE00 5.91
Cobalt (survey)
#1E488F
ΔE00 7.00
Denim Blue
#3B5B92
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42497F #7F7842
analogous
#42677F #42497F #59427F
triadic
#42497F #7F4249 #497F42
tetradic
#42497F #7F4267 #7F7842 #427F59
square
#42497F #7F4267 #7F7842 #427F59
split-complementary
#42497F #7F5942 #677F42
monochromatic
#181B2E #2D3257 #42497F #5760A7 #7F86BC
Accessibility & contrast
On white
8.43
#42497F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#42497F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42497F
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42497F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42497F | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#2F4B7E
Tritanopia (blue-blind)
#2C545E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #42497f; /* rgb */ color: rgb(66, 73, 127); /* oklch */ color: oklch(42.6% 0.090 276.3);
Tailwind
colors: {
custom: {
50: '#7a7ba4',
500: '#42497f',
950: '#000000',
},
}SCSS
$custom: #42497f; $custom-light: #7a7ba4; $custom-dark: #000000;
JSON
{
"hex": "#42497f",
"rgb": {
"r": 66,
"g": 73,
"b": 127
},
"hsl": {
"h": 233.115,
"s": 31.606,
"l": 37.843
},
"oklch": {
"l": 0.42568,
"c": 0.08958,
"h": 276.3
},
"luminance": 0.07456
}Semantic roles & 50–950 ramp
primary
#42497F
secondary
#A7A275
accent
#BC60C8
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F