#3165C2#3165C2
#3165C2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.2% C 0.156 H 261.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #3165C2 |
|---|---|
| RGB | rgb(49, 101, 194) |
| HSL | hsl(218, 60%, 48%) |
| HSV | hsv(218, 75%, 76%) |
| CMYK | cmyk(74.7%, 47.9%, 0%, 23.9%) |
| CIE-LAB | lab(44.02, 15.36, -53.72) |
| CIE-LCH | lch(44.02, 55.87, 285.96°) |
| OKLab | oklab(52.25% -0.0245 -0.1542) |
| OKLCH | oklch(52.25% 0.156 261) |
| XYZ | xyz(15.6544, 13.8536, 52.8775) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.66
French Blue
#436BAD
ΔE00 3.17
Mid Blue
#276AB3
ΔE00 3.82
Medium Blue
#2C6FBB
ΔE00 4.44
Royal Blue
#4169E1
ΔE00 5.08
Azul
#1D5DEC
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3165C2 #C28E31
analogous
#31ADC2 #3165C2 #4631C2
triadic
#3165C2 #C23165 #65C231
tetradic
#3165C2 #C231AD #C28E31 #31C246
square
#3165C2 #C231AD #C28E31 #31C246
split-complementary
#3165C2 #C24631 #ADC231
monochromatic
#183260 #254C91 #3165C2 #5B87D6 #8CABE2
Accessibility & contrast
On white
5.57
#3165C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#3165C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3165C2
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3165C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3165C2 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316FC5
Deuteranopia (green-blind)
#0162C0
Tritanopia (blue-blind)
#007B8A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #3165c2; /* rgb */ color: rgb(49, 101, 194); /* oklch */ color: oklch(52.2% 0.156 261.0);
Tailwind
colors: {
custom: {
50: '#7d90d5',
500: '#3165c2',
950: '#000000',
},
}SCSS
$custom: #3165c2; $custom-light: #7d90d5; $custom-dark: #000000;
JSON
{
"hex": "#3165c2",
"rgb": {
"r": 49,
"g": 101,
"b": 194
},
"hsl": {
"h": 218.483,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.52245,
"c": 0.15617,
"h": 261
},
"luminance": 0.13855
}Semantic roles & 50–950 ramp
primary
#3165C2
secondary
#CCB283
accent
#AA45E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83