#334FC3#334FC3
#334FC3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.184 H 268.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #334FC3 |
|---|---|
| RGB | rgb(51, 79, 195) |
| HSL | hsl(228, 59%, 48%) |
| HSV | hsv(228, 74%, 76%) |
| CMYK | cmyk(73.8%, 59.5%, 0%, 23.5%) |
| CIE-LAB | lab(38.26, 30.23, -63.63) |
| CIE-LCH | lch(38.26, 70.45, 295.41°) |
| OKLab | oklab(47.93% -0.0058 -0.1837) |
| OKLCH | oklch(47.93% 0.184 268.2) |
| XYZ | xyz(14.0081, 10.2344, 52.8564) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.92
Sapphire
#0F52BA
ΔE00 4.03
Blue (survey)
#0343DF
ΔE00 4.75
Warm Blue
#4B57DB
ΔE00 5.07
Cobalt
#0047AB
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334FC3 #C3A733
analogous
#3397C3 #334FC3 #5F33C3
triadic
#334FC3 #C3334F #4FC333
tetradic
#334FC3 #C33397 #C3A733 #33C35F
square
#334FC3 #C33397 #C3A733 #33C35F
split-complementary
#334FC3 #C35F33 #97C333
monochromatic
#1A2862 #263B92 #334FC3 #5E75D5 #8F9FE2
Accessibility & contrast
On white
6.89
#334FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#334FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #334FC3
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334FC3 | 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)
#0061C7
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #334fc3; /* rgb */ color: rgb(51, 79, 195); /* oklch */ color: oklch(47.9% 0.184 268.2);
Tailwind
colors: {
custom: {
50: '#7f80d6',
500: '#334fc3',
950: '#000000',
},
}SCSS
$custom: #334fc3; $custom-light: #7f80d6; $custom-dark: #000000;
JSON
{
"hex": "#334fc3",
"rgb": {
"r": 51,
"g": 79,
"b": 195
},
"hsl": {
"h": 228.333,
"s": 58.537,
"l": 48.235
},
"oklch": {
"l": 0.47931,
"c": 0.1838,
"h": 268.2
},
"luminance": 0.10236
}Semantic roles & 50–950 ramp
primary
#334FC3
secondary
#CCBE86
accent
#C346E2
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83