#34498E#34498E
#34498E is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.6% C 0.117 H 268.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #34498E |
|---|---|
| RGB | rgb(52, 73, 142) |
| HSL | hsl(226, 46%, 38%) |
| HSV | hsv(226, 63%, 56%) |
| CMYK | cmyk(63.4%, 48.6%, 0%, 44.3%) |
| CIE-LAB | lab(32.80, 14.79, -40.83) |
| CIE-LCH | lch(32.80, 43.43, 289.92°) |
| OKLab | oklab(42.61% -0.0033 -0.1167) |
| OKLCH | oklch(42.61% 0.117 268.4) |
| XYZ | xyz(8.6795, 7.4474, 26.5660) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.14
Cobalt
#0047AB
ΔE00 5.18
Dusk Blue
#26538D
ΔE00 5.39
Twilight
#4E518B
ΔE00 5.58
Blueberry
#464196
ΔE00 5.61
Darkish Blue
#014182
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34498E #8E7934
analogous
#34768E #34498E #4C348E
triadic
#34498E #8E3449 #498E34
tetradic
#34498E #8E3476 #8E7934 #348E4C
square
#34498E #8E3476 #8E7934 #348E4C
split-complementary
#34498E #8E4C34 #768E34
monochromatic
#131B34 #243261 #34498E #4460BB #7186CB
Accessibility & contrast
On white
8.44
#34498E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#34498E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34498E
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34498E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34498E | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275191
Deuteranopia (green-blind)
#16498D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #34498e; /* rgb */ color: rgb(52, 73, 142); /* oklch */ color: oklch(42.6% 0.117 268.4);
Tailwind
colors: {
custom: {
50: '#757baf',
500: '#34498e',
950: '#000000',
},
}SCSS
$custom: #34498e; $custom-light: #757baf; $custom-dark: #000000;
JSON
{
"hex": "#34498e",
"rgb": {
"r": 52,
"g": 73,
"b": 142
},
"hsl": {
"h": 226,
"s": 46.392,
"l": 38.039
},
"oklch": {
"l": 0.42608,
"c": 0.11676,
"h": 268.4
},
"luminance": 0.07448
}Semantic roles & 50–950 ramp
primary
#34498E
secondary
#B3A26A
accent
#B752D6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F