#42458C#42458C
#42458C is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.6% C 0.115 H 278.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #42458C |
|---|---|
| RGB | rgb(66, 69, 140) |
| HSL | hsl(238, 36%, 40%) |
| HSV | hsv(238, 53%, 55%) |
| CMYK | cmyk(52.9%, 50.7%, 0%, 45.1%) |
| CIE-LAB | lab(32.50, 19.76, -40.04) |
| CIE-LCH | lch(32.50, 44.65, 296.26°) |
| OKLab | oklab(42.58% 0.017 -0.1141) |
| OKLCH | oklch(42.58% 0.115 278.5) |
| XYZ | xyz(9.1070, 7.3074, 25.7364) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.73
Darkslateblue
#483D8B
ΔE00 3.43
Twilight
#4E518B
ΔE00 4.39
Dusk
#4E5481
ΔE00 6.55
Cobalt (survey)
#1E488F
ΔE00 6.72
Ocean Blue
#4F42B5
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42458C #8C8942
analogous
#426A8C #42458C #64428C
triadic
#42458C #8C4245 #458C42
tetradic
#42458C #8C426A #8C8942 #428C64
square
#42458C #8C426A #8C8942 #428C64
split-complementary
#42458C #8C6442 #6A8C42
monochromatic
#1B1C39 #2E3162 #42458C #5A5EB1 #8486C5
Accessibility & contrast
On white
8.53
#42458C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#42458C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42458C
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42458C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42458C | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234F8F
Deuteranopia (green-blind)
#1C4A8A
Tritanopia (blue-blind)
#235562
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #42458c; /* rgb */ color: rgb(66, 69, 140); /* oklch */ color: oklch(42.6% 0.115 278.5);
Tailwind
colors: {
custom: {
50: '#7c78ae',
500: '#42458c',
950: '#000000',
},
}SCSS
$custom: #42458c; $custom-light: #7c78ae; $custom-dark: #000000;
JSON
{
"hex": "#42458c",
"rgb": {
"r": 66,
"g": 69,
"b": 140
},
"hsl": {
"h": 237.568,
"s": 35.922,
"l": 40.392
},
"oklch": {
"l": 0.42579,
"c": 0.11537,
"h": 278.5
},
"luminance": 0.07308
}Semantic roles & 50–950 ramp
primary
#42458C
secondary
#B0AD7A
accent
#C75CCC
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F