#42497C#42497C
#42497C is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.085 H 276.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #42497C |
|---|---|
| RGB | rgb(66, 73, 124) |
| HSL | hsl(233, 31%, 37%) |
| HSV | hsv(233, 47%, 49%) |
| CMYK | cmyk(46.8%, 41.1%, 0%, 51.4%) |
| CIE-LAB | lab(32.65, 11.82, -29.91) |
| CIE-LCH | lch(32.65, 32.16, 291.56°) |
| OKLab | oklab(42.38% 0.0092 -0.0844) |
| OKLCH | oklch(42.38% 0.085 276.2) |
| XYZ | xyz(8.2663, 7.3781, 20.0534) |
| Luminance | 0.0738 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.56
Dusk
#4E5481
ΔE00 3.93
Darkslateblue
#483D8B
ΔE00 6.32
Blueberry
#464196
ΔE00 6.44
Cobalt (survey)
#1E488F
ΔE00 7.34
Denim Blue
#3B5B92
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42497C #7C7542
analogous
#42667C #42497C #58427C
triadic
#42497C #7C4249 #497C42
tetradic
#42497C #7C4266 #7C7542 #427C58
square
#42497C #7C4266 #7C7542 #427C58
split-complementary
#42497C #7C5842 #667C42
monochromatic
#171A2C #2D3154 #42497C #5761A4 #7E85BA
Accessibility & contrast
On white
8.48
#42497C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#42497C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42497C
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42497C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42497C | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364F7E
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#2E535C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #42497c; /* rgb */ color: rgb(66, 73, 124); /* oklch */ color: oklch(42.4% 0.085 276.2);
Tailwind
colors: {
custom: {
50: '#7a7ba2',
500: '#42497c',
950: '#000000',
},
}SCSS
$custom: #42497c; $custom-light: #7a7ba2; $custom-dark: #000000;
JSON
{
"hex": "#42497c",
"rgb": {
"r": 66,
"g": 73,
"b": 124
},
"hsl": {
"h": 232.759,
"s": 30.526,
"l": 37.255
},
"oklch": {
"l": 0.42384,
"c": 0.08488,
"h": 276.2
},
"luminance": 0.07379
}Semantic roles & 50–950 ramp
primary
#42497C
secondary
#A59F75
accent
#BA61C7
background
#F7F7FA
surface
#EEEDF3
border
#C9C8CD
text
#09090F
muted
#7B7B7F