#334099#334099
#334099 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.145 H 272.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #334099 |
|---|---|
| RGB | rgb(51, 64, 153) |
| HSL | hsl(232, 50%, 40%) |
| HSV | hsv(232, 67%, 60%) |
| CMYK | cmyk(66.7%, 58.2%, 0%, 40%) |
| CIE-LAB | lab(31.04, 24.67, -50.39) |
| CIE-LCH | lch(31.04, 56.10, 296.09°) |
| OKLab | oklab(41.51% 0.0055 -0.145) |
| OKLCH | oklch(41.51% 0.145 272.2) |
| XYZ | xyz(8.9465, 6.6697, 30.9467) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.33
Sapphire (survey)
#2138AB
ΔE00 3.86
Darkslateblue
#483D8B
ΔE00 5.01
Cobalt
#0047AB
ΔE00 5.30
Cobalt (survey)
#1E488F
ΔE00 5.57
Ocean Blue
#4F42B5
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334099 #998C33
analogous
#337399 #334099 #593399
triadic
#334099 #993340 #409933
tetradic
#334099 #993373 #998C33 #339959
square
#334099 #993373 #998C33 #339959
split-complementary
#334099 #995933 #739933
monochromatic
#141A3D #242D6B #334099 #4757C2 #7581D1
Accessibility & contrast
On white
9.00
#334099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#334099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334099
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334099 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #334099; /* rgb */ color: rgb(51, 64, 153); /* oklch */ color: oklch(41.5% 0.145 272.2);
Tailwind
colors: {
custom: {
50: '#7774b8',
500: '#334099',
950: '#000000',
},
}SCSS
$custom: #334099; $custom-light: #7774b8; $custom-dark: #000000;
JSON
{
"hex": "#334099",
"rgb": {
"r": 51,
"g": 64,
"b": 153
},
"hsl": {
"h": 232.353,
"s": 50,
"l": 40
},
"oklch": {
"l": 0.41514,
"c": 0.14509,
"h": 272.2
},
"luminance": 0.06671
}Semantic roles & 50–950 ramp
primary
#334099
secondary
#B9B06E
accent
#C84EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80