#3155C0#3155C0
#3155C0 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.173 H 266.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #3155C0 |
|---|---|
| RGB | rgb(49, 85, 192) |
| HSL | hsl(225, 59%, 47%) |
| HSV | hsv(225, 74%, 75%) |
| CMYK | cmyk(74.5%, 55.7%, 0%, 24.7%) |
| CIE-LAB | lab(39.50, 24.98, -59.86) |
| CIE-LCH | lch(39.50, 64.87, 292.65°) |
| OKLab | oklab(48.77% -0.012 -0.1726) |
| OKLCH | oklch(48.77% 0.173 266) |
| XYZ | xyz(14.0262, 10.9542, 51.2341) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.86
Warm Blue
#4B57DB
ΔE00 5.42
Denim
#1560BD
ΔE00 5.58
Cobalt
#0047AB
ΔE00 5.70
Azul
#1D5DEC
ΔE00 5.90
Blue Blue
#2242C7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3155C0 #C09C31
analogous
#319DC0 #3155C0 #5431C0
triadic
#3155C0 #C03155 #55C031
tetradic
#3155C0 #C0319D #C09C31 #31C054
square
#3155C0 #C0319D #C09C31 #31C054
split-complementary
#3155C0 #C05431 #9DC031
monochromatic
#182A5E #253F8F #3155C0 #5978D5 #8AA0E1
Accessibility & contrast
On white
6.58
#3155C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#3155C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3155C0
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3155C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3155C0 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3155c0; /* rgb */ color: rgb(49, 85, 192); /* oklch */ color: oklch(48.8% 0.173 266.0);
Tailwind
colors: {
custom: {
50: '#7d84d4',
500: '#3155c0',
950: '#000000',
},
}SCSS
$custom: #3155c0; $custom-light: #7d84d4; $custom-dark: #000000;
JSON
{
"hex": "#3155c0",
"rgb": {
"r": 49,
"g": 85,
"b": 192
},
"hsl": {
"h": 224.895,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.48765,
"c": 0.17301,
"h": 266
},
"luminance": 0.10956
}Semantic roles & 50–950 ramp
primary
#3155C0
secondary
#CBB982
accent
#BB45E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83