#3154B1#3154B1
#3154B1 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.154 H 265.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3154B1 |
|---|---|
| RGB | rgb(49, 84, 177) |
| HSL | hsl(224, 57%, 44%) |
| HSV | hsv(224, 72%, 69%) |
| CMYK | cmyk(72.3%, 52.5%, 0%, 30.6%) |
| CIE-LAB | lab(38.14, 20.02, -53.27) |
| CIE-LCH | lch(38.14, 56.91, 290.60°) |
| OKLab | oklab(47.39% -0.0124 -0.1532) |
| OKLCH | oklch(47.39% 0.154 265.4) |
| XYZ | xyz(12.3700, 10.1666, 42.8969) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.38
Cobalt
#0047AB
ΔE00 4.62
Denim Blue
#3B5B92
ΔE00 4.85
Dusk Blue
#26538D
ΔE00 5.49
Denim
#1560BD
ΔE00 5.53
Dusky Blue
#475F94
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3154B1 #B18E31
analogous
#3194B1 #3154B1 #4E31B1
triadic
#3154B1 #B13154 #54B131
tetradic
#3154B1 #B13194 #B18E31 #31B14E
square
#3154B1 #B13194 #B18E31 #31B14E
split-complementary
#3154B1 #B14E31 #94B131
monochromatic
#162751 #243D81 #3154B1 #5173CF #8099DC
Accessibility & contrast
On white
6.92
#3154B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#3154B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3154B1
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3154B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3154B1 | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1660B4
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3154b1; /* rgb */ color: rgb(49, 84, 177); /* oklch */ color: oklch(47.4% 0.154 265.4);
Tailwind
colors: {
custom: {
50: '#7a83c9',
500: '#3154b1',
950: '#000000',
},
}SCSS
$custom: #3154b1; $custom-light: #7a83c9; $custom-dark: #000000;
JSON
{
"hex": "#3154b1",
"rgb": {
"r": 49,
"g": 84,
"b": 177
},
"hsl": {
"h": 223.594,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.47389,
"c": 0.15372,
"h": 265.4
},
"luminance": 0.10168
}Semantic roles & 50–950 ramp
primary
#3154B1
secondary
#C5B079
accent
#B648E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82