#3451B2#3451B2
#3451B2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.158 H 267.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3451B2 |
|---|---|
| RGB | rgb(52, 81, 178) |
| HSL | hsl(226, 55%, 45%) |
| HSV | hsv(226, 71%, 70%) |
| CMYK | cmyk(70.8%, 54.5%, 0%, 30.2%) |
| CIE-LAB | lab(37.53, 22.79, -54.84) |
| CIE-LCH | lch(37.53, 59.39, 292.57°) |
| OKLab | oklab(46.99% -0.0071 -0.1578) |
| OKLCH | oklch(46.99% 0.158 267.4) |
| XYZ | xyz(12.3917, 9.8280, 43.3548) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.03
Cobalt
#0047AB
ΔE00 4.32
Blue Blue
#2242C7
ΔE00 5.52
Denim Blue
#3B5B92
ΔE00 5.74
Cobalt (survey)
#1E488F
ΔE00 6.06
Dusk Blue
#26538D
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3451B2 #B29534
analogous
#3490B2 #3451B2 #5634B2
triadic
#3451B2 #B23451 #51B234
tetradic
#3451B2 #B23490 #B29534 #34B256
square
#3451B2 #B23490 #B29534 #34B256
split-complementary
#3451B2 #B25634 #90B234
monochromatic
#182653 #263B83 #3451B2 #5671CE #8599DB
Accessibility & contrast
On white
7.08
#3451B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#3451B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3451B2
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3451B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3451B2 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#025EB5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3451b2; /* rgb */ color: rgb(52, 81, 178); /* oklch */ color: oklch(47.0% 0.158 267.4);
Tailwind
colors: {
custom: {
50: '#7b81ca',
500: '#3451b2',
950: '#000000',
},
}SCSS
$custom: #3451b2; $custom-light: #7b81ca; $custom-dark: #000000;
JSON
{
"hex": "#3451b2",
"rgb": {
"r": 52,
"g": 81,
"b": 178
},
"hsl": {
"h": 226.19,
"s": 54.783,
"l": 45.098
},
"oklch": {
"l": 0.4699,
"c": 0.15798,
"h": 267.4
},
"luminance": 0.09829
}Semantic roles & 50–950 ramp
primary
#3451B2
secondary
#C5B47D
accent
#BC4ADE
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82