#334DC9#334DC9
#334DC9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.194 H 268.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #334DC9 |
|---|---|
| RGB | rgb(51, 77, 201) |
| HSL | hsl(230, 60%, 49%) |
| HSV | hsv(230, 75%, 79%) |
| CMYK | cmyk(74.6%, 61.7%, 0%, 21.2%) |
| CIE-LAB | lab(38.25, 33.70, -67.14) |
| CIE-LCH | lch(38.25, 75.13, 296.65°) |
| OKLab | oklab(48.07% -0.0045 -0.194) |
| OKLCH | oklch(48.07% 0.194 268.7) |
| XYZ | xyz(14.5581, 10.2270, 56.4538) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.30
Blue (survey)
#0343DF
ΔE00 3.80
Warm Blue
#4B57DB
ΔE00 4.72
Sapphire
#0F52BA
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 5.86
Cobalt
#0047AB
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334DC9 #C9AF33
analogous
#3398C9 #334DC9 #6433C9
triadic
#334DC9 #C9334D #4DC933
tetradic
#334DC9 #C93398 #C9AF33 #33C964
square
#334DC9 #C93398 #C9AF33 #33C964
split-complementary
#334DC9 #C96433 #98C933
monochromatic
#1A2867 #273A98 #334DC9 #6276D7 #93A1E4
Accessibility & contrast
On white
6.89
#334DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#334DC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #334DC9
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334DC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334DC9 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #334dc9; /* rgb */ color: rgb(51, 77, 201); /* oklch */ color: oklch(48.1% 0.194 268.7);
Tailwind
colors: {
custom: {
50: '#807eda',
500: '#334dc9',
950: '#000000',
},
}SCSS
$custom: #334dc9; $custom-light: #807eda; $custom-dark: #000000;
JSON
{
"hex": "#334dc9",
"rgb": {
"r": 51,
"g": 77,
"b": 201
},
"hsl": {
"h": 229.6,
"s": 59.524,
"l": 49.412
},
"oklch": {
"l": 0.48073,
"c": 0.19408,
"h": 268.7
},
"luminance": 0.10229
}Semantic roles & 50–950 ramp
primary
#334DC9
secondary
#CFC389
accent
#C745E3
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83