#34366C#34366C
#34366C is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.092 H 279.1°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #34366C |
|---|---|
| RGB | rgb(52, 54, 108) |
| HSL | hsl(238, 35%, 31%) |
| HSV | hsv(238, 52%, 42%) |
| CMYK | cmyk(51.9%, 50%, 0%, 57.6%) |
| CIE-LAB | lab(25.11, 15.51, -31.85) |
| CIE-LCH | lch(25.11, 35.43, 295.96°) |
| OKLab | oklab(36.04% 0.0146 -0.0906) |
| OKLCH | oklch(36.04% 0.092 279.1) |
| XYZ | xyz(5.4413, 4.4508, 14.7568) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.35
Marine
#042E60
ΔE00 7.40
Navy Blue
#1B2A4A
ΔE00 7.67
Blueberry
#464196
ΔE00 7.78
Marine Blue
#01386A
ΔE00 8.67
Twilight
#4E518B
ΔE00 9.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34366C #6C6A34
analogous
#34526C #34366C #4E346C
triadic
#34366C #6C3436 #366C34
tetradic
#34366C #6C3452 #6C6A34 #346C4E
square
#34366C #6C3452 #6C6A34 #346C4E
split-complementary
#34366C #6C4E34 #526C34
monochromatic
#0C0D19 #202143 #34366C #484B95 #6568B5
Accessibility & contrast
On white
11.11
#34366C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#34366C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34366C
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34366C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34366C | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3E6E
Deuteranopia (green-blind)
#1A396B
Tritanopia (blue-blind)
#1F424B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #34366c; /* rgb */ color: rgb(52, 54, 108); /* oklch */ color: oklch(36.0% 0.092 279.1);
Tailwind
colors: {
custom: {
50: '#706c96',
500: '#34366c',
950: '#000000',
},
}SCSS
$custom: #34366c; $custom-light: #706c96; $custom-dark: #000000;
JSON
{
"hex": "#34366c",
"rgb": {
"r": 52,
"g": 54,
"b": 108
},
"hsl": {
"h": 237.857,
"s": 35,
"l": 31.373
},
"oklch": {
"l": 0.36042,
"c": 0.09172,
"h": 279.1
},
"luminance": 0.04451
}Semantic roles & 50–950 ramp
primary
#34366C
secondary
#9D9B5F
accent
#C75DCB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070D
muted
#7B7A7E