#35398C#35398C
#35398C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.135 H 276.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #35398C |
|---|---|
| RGB | rgb(53, 57, 140) |
| HSL | hsl(237, 45%, 38%) |
| HSV | hsv(237, 62%, 55%) |
| CMYK | cmyk(62.1%, 59.3%, 0%, 45.1%) |
| CIE-LAB | lab(28.32, 24.99, -46.84) |
| CIE-LCH | lch(28.32, 53.08, 298.08°) |
| OKLab | oklab(39.2% 0.0144 -0.1346) |
| OKLCH | oklch(39.2% 0.135 276.1) |
| XYZ | xyz(7.6634, 5.5760, 25.4783) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.44
Darkslateblue
#483D8B
ΔE00 3.59
Sapphire (survey)
#2138AB
ΔE00 5.03
Cobalt (survey)
#1E488F
ΔE00 7.44
Ocean Blue
#4F42B5
ΔE00 7.46
Cobalt
#0047AB
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#35398C #8C8835
analogous
#35658C #35398C #5C358C
triadic
#35398C #8C3539 #398C35
tetradic
#35398C #8C3565 #8C8835 #358C5C
square
#35398C #8C3565 #8C8835 #358C5C
split-complementary
#35398C #8C5C35 #658C35
monochromatic
#131533 #242760 #35398C #464BB8 #7276CA
Accessibility & contrast
On white
9.93
#35398C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#35398C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #35398C
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##35398C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##35398C | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #35398c; /* rgb */ color: rgb(53, 57, 140); /* oklch */ color: oklch(39.2% 0.135 276.1);
Tailwind
colors: {
custom: {
50: '#766fae',
500: '#35398c',
950: '#000000',
},
}SCSS
$custom: #35398c; $custom-light: #766fae; $custom-dark: #000000;
JSON
{
"hex": "#35398c",
"rgb": {
"r": 53,
"g": 57,
"b": 140
},
"hsl": {
"h": 237.241,
"s": 45.078,
"l": 37.843
},
"oklch": {
"l": 0.39201,
"c": 0.13533,
"h": 276.1
},
"luminance": 0.05577
}Semantic roles & 50–950 ramp
primary
#35398C
secondary
#B2AF6B
accent
#CF53D5
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F