#3153B8#3153B8
#3153B8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.165 H 266.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3153B8 |
|---|---|
| RGB | rgb(49, 83, 184) |
| HSL | hsl(225, 58%, 46%) |
| HSV | hsv(225, 73%, 72%) |
| CMYK | cmyk(73.4%, 54.9%, 0%, 27.8%) |
| CIE-LAB | lab(38.37, 23.30, -57.02) |
| CIE-LCH | lch(38.37, 61.60, 292.23°) |
| OKLab | oklab(47.73% -0.011 -0.1642) |
| OKLCH | oklch(47.73% 0.165 266.2) |
| XYZ | xyz(13.0086, 10.2988, 46.6404) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.49
Cobalt
#0047AB
ΔE00 4.76
Blue Blue
#2242C7
ΔE00 5.75
Denim Blue
#3B5B92
ΔE00 5.82
Denim
#1560BD
ΔE00 5.96
Warm Blue
#4B57DB
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3153B8 #B89631
analogous
#3196B8 #3153B8 #5231B8
triadic
#3153B8 #B83153 #53B831
tetradic
#3153B8 #B83196 #B89631 #31B852
square
#3153B8 #B83196 #B89631 #31B852
split-complementary
#3153B8 #B85231 #96B831
monochromatic
#172757 #243D88 #3153B8 #5574D2 #859BDE
Accessibility & contrast
On white
6.86
#3153B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#3153B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3153B8
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3153B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3153B8 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3153b8; /* rgb */ color: rgb(49, 83, 184); /* oklch */ color: oklch(47.7% 0.165 266.2);
Tailwind
colors: {
custom: {
50: '#7b82ce',
500: '#3153b8',
950: '#000000',
},
}SCSS
$custom: #3153b8; $custom-light: #7b82ce; $custom-dark: #000000;
JSON
{
"hex": "#3153b8",
"rgb": {
"r": 49,
"g": 83,
"b": 184
},
"hsl": {
"h": 224.889,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.47726,
"c": 0.16462,
"h": 266.2
},
"luminance": 0.103
}Semantic roles & 50–950 ramp
primary
#3153B8
secondary
#C8B57D
accent
#BA47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82