#423F97#423F97
#423F97 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.140 H 280.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #423F97 |
|---|---|
| RGB | rgb(66, 63, 151) |
| HSL | hsl(242, 41%, 42%) |
| HSV | hsv(242, 58%, 59%) |
| CMYK | cmyk(56.3%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(31.69, 27.38, -48.08) |
| CIE-LCH | lch(31.69, 55.33, 299.66°) |
| OKLab | oklab(42.22% 0.0245 -0.1378) |
| OKLCH | oklch(42.22% 0.14 280.1) |
| XYZ | xyz(9.6084, 6.9470, 30.1068) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 0.90
Darkslateblue
#483D8B
ΔE00 2.68
Ocean Blue
#4F42B5
ΔE00 5.01
Sapphire (survey)
#2138AB
ΔE00 5.11
Twilight
#4E518B
ΔE00 6.99
Blue Blue
#2242C7
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#423F97 #94973F
analogous
#3F6897 #423F97 #6E3F97
triadic
#423F97 #97423F #3F9742
tetradic
#423F97 #973F68 #94973F #3F976E
square
#423F97 #973F68 #94973F #3F976E
split-complementary
#423F97 #976E3F #68973F
monochromatic
#1C1B41 #2F2D6C #423F97 #5D59BA #8785CC
Accessibility & contrast
On white
8.79
#423F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#423F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #423F97
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##423F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##423F97 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#185464
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #423f97; /* rgb */ color: rgb(66, 63, 151); /* oklch */ color: oklch(42.2% 0.140 280.1);
Tailwind
colors: {
custom: {
50: '#7e74b6',
500: '#423f97',
950: '#000000',
},
}SCSS
$custom: #423f97; $custom-light: #7e74b6; $custom-dark: #000000;
JSON
{
"hex": "#423f97",
"rgb": {
"r": 66,
"g": 63,
"b": 151
},
"hsl": {
"h": 242.045,
"s": 41.121,
"l": 41.961
},
"oklch": {
"l": 0.42218,
"c": 0.13995,
"h": 280.1
},
"luminance": 0.06948
}Semantic roles & 50–950 ramp
primary
#423F97
secondary
#B4B67C
accent
#D157CD
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80