#3345B2#3345B2
#3345B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.173 H 270.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3345B2 |
|---|---|
| RGB | rgb(51, 69, 178) |
| HSL | hsl(231, 55%, 45%) |
| HSV | hsv(231, 71%, 70%) |
| CMYK | cmyk(71.3%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(34.34, 30.50, -60.03) |
| CIE-LCH | lch(34.34, 67.34, 296.94°) |
| OKLab | oklab(44.59% 0.0014 -0.1733) |
| OKLCH | oklch(44.59% 0.173 270.5) |
| XYZ | xyz(11.5265, 8.1732, 43.0810) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.94
Sapphire (survey)
#2138AB
ΔE00 3.94
Ocean Blue
#4F42B5
ΔE00 4.46
Cobalt
#0047AB
ΔE00 4.49
Blueberry
#464196
ΔE00 5.36
Blue (survey)
#0343DF
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3345B2 #B2A033
analogous
#3385B2 #3345B2 #6033B2
triadic
#3345B2 #B23345 #45B233
tetradic
#3345B2 #B23385 #B2A033 #33B260
square
#3345B2 #B23385 #B2A033 #33B260
split-complementary
#3345B2 #B26033 #85B233
monochromatic
#182053 #253382 #3345B2 #5465CE #8490DC
Accessibility & contrast
On white
7.97
#3345B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#3345B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3345B2
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3345B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3345B2 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3345b2; /* rgb */ color: rgb(51, 69, 178); /* oklch */ color: oklch(44.6% 0.173 270.5);
Tailwind
colors: {
custom: {
50: '#7c78ca',
500: '#3345b2',
950: '#000000',
},
}SCSS
$custom: #3345b2; $custom-light: #7c78ca; $custom-dark: #000000;
JSON
{
"hex": "#3345b2",
"rgb": {
"r": 51,
"g": 69,
"b": 178
},
"hsl": {
"h": 231.496,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.44592,
"c": 0.17327,
"h": 270.5
},
"luminance": 0.08174
}Semantic roles & 50–950 ramp
primary
#3345B2
secondary
#C5BB7C
accent
#CA49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82