#334D9C#334D9C
#334D9C is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.132 H 267.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #334D9C |
|---|---|
| RGB | rgb(51, 77, 156) |
| HSL | hsl(225, 51%, 41%) |
| HSV | hsv(225, 67%, 61%) |
| CMYK | cmyk(67.3%, 50.6%, 0%, 38.8%) |
| CIE-LAB | lab(34.82, 17.11, -46.09) |
| CIE-LCH | lch(34.82, 49.16, 290.37°) |
| OKLab | oklab(44.43% -0.0065 -0.1321) |
| OKLCH | oklch(44.43% 0.132 267.2) |
| XYZ | xyz(10.0178, 8.4109, 32.5416) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.45
Cobalt
#0047AB
ΔE00 3.88
Dusk Blue
#26538D
ΔE00 4.77
Sapphire
#0F52BA
ΔE00 4.82
Denim Blue
#3B5B92
ΔE00 5.14
Blueberry
#464196
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334D9C #9C8233
analogous
#33819C #334D9C #4D339C
triadic
#334D9C #9C334D #4D9C33
tetradic
#334D9C #9C3381 #9C8233 #339C4D
square
#334D9C #9C3381 #9C8233 #339C4D
split-complementary
#334D9C #9C4D33 #819C33
monochromatic
#151F40 #24366E #334D9C #4967C3 #778ED3
Accessibility & contrast
On white
7.83
#334D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#334D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334D9C
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334D9C | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21579F
Deuteranopia (green-blind)
#014D9A
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #334d9c; /* rgb */ color: rgb(51, 77, 156); /* oklch */ color: oklch(44.4% 0.132 267.2);
Tailwind
colors: {
custom: {
50: '#777eba',
500: '#334d9c',
950: '#000000',
},
}SCSS
$custom: #334d9c; $custom-light: #777eba; $custom-dark: #000000;
JSON
{
"hex": "#334d9c",
"rgb": {
"r": 51,
"g": 77,
"b": 156
},
"hsl": {
"h": 225.143,
"s": 50.725,
"l": 40.588
},
"oklch": {
"l": 0.44432,
"c": 0.13231,
"h": 267.2
},
"luminance": 0.08412
}Semantic roles & 50–950 ramp
primary
#334D9C
secondary
#BBA870
accent
#B74EDA
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81