#334DC1#334DC1
#334DC1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.184 H 268.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #334DC1 |
|---|---|
| RGB | rgb(51, 77, 193) |
| HSL | hsl(229, 58%, 48%) |
| HSV | hsv(229, 74%, 76%) |
| CMYK | cmyk(73.6%, 60.1%, 0%, 24.3%) |
| CIE-LAB | lab(37.59, 30.79, -63.56) |
| CIE-LCH | lch(37.59, 70.62, 295.85°) |
| OKLab | oklab(47.38% -0.0044 -0.1835) |
| OKLCH | oklch(47.38% 0.184 268.6) |
| XYZ | xyz(13.6414, 9.8604, 51.6260) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.37
Sapphire
#0F52BA
ΔE00 4.30
Blue (survey)
#0343DF
ΔE00 4.54
Cobalt
#0047AB
ΔE00 5.17
Warm Blue
#4B57DB
ΔE00 5.50
Ocean Blue
#4F42B5
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334DC1 #C1A733
analogous
#3394C1 #334DC1 #6033C1
triadic
#334DC1 #C1334D #4DC133
tetradic
#334DC1 #C13394 #C1A733 #33C160
square
#334DC1 #C13394 #C1A733 #33C160
split-complementary
#334DC1 #C16033 #94C133
monochromatic
#192660 #263A91 #334DC1 #5D73D4 #8D9DE1
Accessibility & contrast
On white
7.06
#334DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#334DC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334DC1
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334DC1 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #334dc1; /* rgb */ color: rgb(51, 77, 193); /* oklch */ color: oklch(47.4% 0.184 268.6);
Tailwind
colors: {
custom: {
50: '#7f7ed5',
500: '#334dc1',
950: '#000000',
},
}SCSS
$custom: #334dc1; $custom-light: #7f7ed5; $custom-dark: #000000;
JSON
{
"hex": "#334dc1",
"rgb": {
"r": 51,
"g": 77,
"b": 193
},
"hsl": {
"h": 229.014,
"s": 58.197,
"l": 47.843
},
"oklch": {
"l": 0.47383,
"c": 0.18356,
"h": 268.6
},
"luminance": 0.09862
}Semantic roles & 50–950 ramp
primary
#334DC1
secondary
#CBBE84
accent
#C546E1
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83