#3153B7#3153B7
#3153B7 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.163 H 266.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3153B7 |
|---|---|
| RGB | rgb(49, 83, 183) |
| HSL | hsl(225, 58%, 45%) |
| HSV | hsv(225, 73%, 72%) |
| CMYK | cmyk(73.2%, 54.6%, 0%, 28.2%) |
| CIE-LAB | lab(38.30, 22.93, -56.55) |
| CIE-LCH | lch(38.30, 61.02, 292.07°) |
| OKLab | oklab(47.65% -0.0111 -0.1629) |
| OKLCH | oklch(47.65% 0.163 266.1) |
| XYZ | xyz(12.9041, 10.2570, 46.0903) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.46
Cobalt
#0047AB
ΔE00 4.69
Denim Blue
#3B5B92
ΔE00 5.71
Blue Blue
#2242C7
ΔE00 5.82
Denim
#1560BD
ΔE00 5.93
Dusk Blue
#26538D
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3153B7 #B79531
analogous
#3196B7 #3153B7 #5231B7
triadic
#3153B7 #B73153 #53B731
tetradic
#3153B7 #B73196 #B79531 #31B752
square
#3153B7 #B73196 #B79531 #31B752
split-complementary
#3153B7 #B75231 #96B731
monochromatic
#172756 #243D87 #3153B7 #5474D1 #849BDE
Accessibility & contrast
On white
6.88
#3153B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#3153B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3153B7
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3153B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3153B7 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BA
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3153b7; /* rgb */ color: rgb(49, 83, 183); /* oklch */ color: oklch(47.6% 0.163 266.1);
Tailwind
colors: {
custom: {
50: '#7b82cd',
500: '#3153b7',
950: '#000000',
},
}SCSS
$custom: #3153b7; $custom-light: #7b82cd; $custom-dark: #000000;
JSON
{
"hex": "#3153b7",
"rgb": {
"r": 49,
"g": 83,
"b": 183
},
"hsl": {
"h": 224.776,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.47647,
"c": 0.16325,
"h": 266.1
},
"luminance": 0.10258
}Semantic roles & 50–950 ramp
primary
#3153B7
secondary
#C8B47C
accent
#BA47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82