#42468C#42468C
#42468C is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.8% C 0.114 H 278.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #42468C |
|---|---|
| RGB | rgb(66, 70, 140) |
| HSL | hsl(237, 36%, 40%) |
| HSV | hsv(237, 53%, 55%) |
| CMYK | cmyk(52.9%, 50%, 0%, 45.1%) |
| CIE-LAB | lab(32.77, 19.10, -39.61) |
| CIE-LCH | lch(32.77, 43.97, 295.75°) |
| OKLab | oklab(42.79% 0.0158 -0.1128) |
| OKLCH | oklch(42.79% 0.114 278) |
| XYZ | xyz(9.1691, 7.4315, 25.7571) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.01
Darkslateblue
#483D8B
ΔE00 3.77
Twilight
#4E518B
ΔE00 4.11
Dusk
#4E5481
ΔE00 6.28
Cobalt (survey)
#1E488F
ΔE00 6.54
Ocean Blue
#4F42B5
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42468C #8C8842
analogous
#426B8C #42468C #63428C
triadic
#42468C #8C4246 #468C42
tetradic
#42468C #8C426B #8C8842 #428C63
square
#42468C #8C426B #8C8842 #428C63
split-complementary
#42468C #8C6342 #6B8C42
monochromatic
#1B1C39 #2E3162 #42468C #5A5FB1 #8487C5
Accessibility & contrast
On white
8.45
#42468C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#42468C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42468C
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42468C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42468C | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#1E4A8A
Tritanopia (blue-blind)
#235562
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #42468c; /* rgb */ color: rgb(66, 70, 140); /* oklch */ color: oklch(42.8% 0.114 278.0);
Tailwind
colors: {
custom: {
50: '#7c79ae',
500: '#42468c',
950: '#000000',
},
}SCSS
$custom: #42468c; $custom-light: #7c79ae; $custom-dark: #000000;
JSON
{
"hex": "#42468c",
"rgb": {
"r": 66,
"g": 70,
"b": 140
},
"hsl": {
"h": 236.757,
"s": 35.922,
"l": 40.392
},
"oklch": {
"l": 0.42785,
"c": 0.11391,
"h": 278
},
"luminance": 0.07432
}Semantic roles & 50–950 ramp
primary
#42468C
secondary
#B0AD7A
accent
#C65CCC
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F