#3154B2#3154B2
#3154B2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.155 H 265.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3154B2 |
|---|---|
| RGB | rgb(49, 84, 178) |
| HSL | hsl(224, 57%, 45%) |
| HSV | hsv(224, 72%, 70%) |
| CMYK | cmyk(72.5%, 52.8%, 0%, 30.2%) |
| CIE-LAB | lab(38.21, 20.40, -53.75) |
| CIE-LCH | lch(38.21, 57.49, 290.78°) |
| OKLab | oklab(47.47% -0.0123 -0.1546) |
| OKLCH | oklch(47.47% 0.155 265.4) |
| XYZ | xyz(12.4700, 10.2067, 43.4237) |
| Luminance | 0.1021 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.36
Cobalt
#0047AB
ΔE00 4.65
Denim Blue
#3B5B92
ΔE00 4.96
Denim
#1560BD
ΔE00 5.54
Dusk Blue
#26538D
ΔE00 5.62
Dusky Blue
#475F94
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3154B2 #B28F31
analogous
#3195B2 #3154B2 #4F31B2
triadic
#3154B2 #B23154 #54B231
tetradic
#3154B2 #B23195 #B28F31 #31B24F
square
#3154B2 #B23195 #B28F31 #31B24F
split-complementary
#3154B2 #B24F31 #95B231
monochromatic
#172752 #243D82 #3154B2 #5173CF #819ADC
Accessibility & contrast
On white
6.90
#3154B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#3154B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3154B2
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3154B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3154B2 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1460B5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3154b2; /* rgb */ color: rgb(49, 84, 178); /* oklch */ color: oklch(47.5% 0.155 265.4);
Tailwind
colors: {
custom: {
50: '#7a83ca',
500: '#3154b2',
950: '#000000',
},
}SCSS
$custom: #3154b2; $custom-light: #7a83ca; $custom-dark: #000000;
JSON
{
"hex": "#3154b2",
"rgb": {
"r": 49,
"g": 84,
"b": 178
},
"hsl": {
"h": 223.721,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.47465,
"c": 0.15511,
"h": 265.4
},
"luminance": 0.10208
}Semantic roles & 50–950 ramp
primary
#3154B2
secondary
#C5B179
accent
#B748E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82