#42458B#42458B
#42458B is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.5% C 0.114 H 278.5°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #42458B |
|---|---|
| RGB | rgb(66, 69, 139) |
| HSL | hsl(238, 36%, 40%) |
| HSV | hsv(238, 53%, 55%) |
| CMYK | cmyk(52.5%, 50.4%, 0%, 45.5%) |
| CIE-LAB | lab(32.43, 19.42, -39.53) |
| CIE-LCH | lch(32.43, 44.05, 296.16°) |
| OKLab | oklab(42.51% 0.0169 -0.1126) |
| OKLCH | oklch(42.51% 0.114 278.5) |
| XYZ | xyz(9.0336, 7.2780, 25.3499) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.88
Darkslateblue
#483D8B
ΔE00 3.46
Twilight
#4E518B
ΔE00 4.32
Dusk
#4E5481
ΔE00 6.45
Cobalt (survey)
#1E488F
ΔE00 6.75
Ocean Blue
#4F42B5
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42458B #8B8842
analogous
#426A8B #42458B #63428B
triadic
#42458B #8B4245 #458B42
tetradic
#42458B #8B426A #8B8842 #428B63
square
#42458B #8B426A #8B8842 #428B63
split-complementary
#42458B #8B6342 #6A8B42
monochromatic
#1B1C38 #2E3062 #42458B #5A5DB1 #8386C4
Accessibility & contrast
On white
8.55
#42458B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#42458B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42458B
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42458B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42458B | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244F8E
Deuteranopia (green-blind)
#1D4989
Tritanopia (blue-blind)
#245461
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #42458b; /* rgb */ color: rgb(66, 69, 139); /* oklch */ color: oklch(42.5% 0.114 278.5);
Tailwind
colors: {
custom: {
50: '#7c78ad',
500: '#42458b',
950: '#000000',
},
}SCSS
$custom: #42458b; $custom-light: #7c78ad; $custom-dark: #000000;
JSON
{
"hex": "#42458b",
"rgb": {
"r": 66,
"g": 69,
"b": 139
},
"hsl": {
"h": 237.534,
"s": 35.61,
"l": 40.196
},
"oklch": {
"l": 0.42509,
"c": 0.11387,
"h": 278.5
},
"luminance": 0.07279
}Semantic roles & 50–950 ramp
primary
#42458B
secondary
#AFAD7A
accent
#C75CCC
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F