#3153B5#3153B5
#3153B5 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.161 H 266.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3153B5 |
|---|---|
| RGB | rgb(49, 83, 181) |
| HSL | hsl(225, 57%, 45%) |
| HSV | hsv(225, 73%, 71%) |
| CMYK | cmyk(72.9%, 54.1%, 0%, 29%) |
| CIE-LAB | lab(38.15, 22.18, -55.61) |
| CIE-LCH | lch(38.15, 59.87, 291.75°) |
| OKLab | oklab(47.49% -0.0112 -0.1601) |
| OKLCH | oklch(47.49% 0.161 266) |
| XYZ | xyz(12.6974, 10.1743, 45.0018) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.42
Cobalt
#0047AB
ΔE00 4.58
Denim Blue
#3B5B92
ΔE00 5.49
Denim
#1560BD
ΔE00 5.90
Blue Blue
#2242C7
ΔE00 5.97
Dusk Blue
#26538D
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3153B5 #B59331
analogous
#3195B5 #3153B5 #5131B5
triadic
#3153B5 #B53153 #53B531
tetradic
#3153B5 #B53195 #B59331 #31B551
square
#3153B5 #B53195 #B59331 #31B551
split-complementary
#3153B5 #B55131 #95B531
monochromatic
#172755 #243D85 #3153B5 #5373D0 #839ADD
Accessibility & contrast
On white
6.92
#3153B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#3153B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3153B5
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3153B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3153B5 | 1.00 | 6.92 | 3.04 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0360B8
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3153b5; /* rgb */ color: rgb(49, 83, 181); /* oklch */ color: oklch(47.5% 0.161 266.0);
Tailwind
colors: {
custom: {
50: '#7b82cc',
500: '#3153b5',
950: '#000000',
},
}SCSS
$custom: #3153b5; $custom-light: #7b82cc; $custom-dark: #000000;
JSON
{
"hex": "#3153b5",
"rgb": {
"r": 49,
"g": 83,
"b": 181
},
"hsl": {
"h": 224.545,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.47491,
"c": 0.1605,
"h": 266
},
"luminance": 0.10176
}Semantic roles & 50–950 ramp
primary
#3153B5
secondary
#C7B37B
accent
#B947E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82