#3154AB#3154AB
#3154AB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.145 H 264.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3154AB |
|---|---|
| RGB | rgb(49, 84, 171) |
| HSL | hsl(223, 55%, 43%) |
| HSV | hsv(223, 71%, 67%) |
| CMYK | cmyk(71.3%, 50.9%, 0%, 32.9%) |
| CIE-LAB | lab(37.72, 17.77, -50.40) |
| CIE-LCH | lch(37.72, 53.44, 289.42°) |
| OKLab | oklab(46.94% -0.0131 -0.1448) |
| OKLCH | oklch(46.94% 0.145 264.8) |
| XYZ | xyz(11.7850, 9.9327, 39.8163) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.65
Denim Blue
#3B5B92
ΔE00 4.20
Cobalt
#0047AB
ΔE00 4.51
Dusk Blue
#26538D
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 5.38
Dusky Blue
#475F94
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3154AB #AB8831
analogous
#3191AB #3154AB #4B31AB
triadic
#3154AB #AB3154 #54AB31
tetradic
#3154AB #AB3191 #AB8831 #31AB4B
square
#3154AB #AB3191 #AB8831 #31AB4B
split-complementary
#3154AB #AB4B31 #91AB31
monochromatic
#16254C #233D7B #3154AB #4D72CC #7D97DA
Accessibility & contrast
On white
7.03
#3154AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#3154AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3154AB
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3154AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3154AB | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205FAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3154ab; /* rgb */ color: rgb(49, 84, 171); /* oklch */ color: oklch(46.9% 0.145 264.8);
Tailwind
colors: {
custom: {
50: '#7983c5',
500: '#3154ab',
950: '#000000',
},
}SCSS
$custom: #3154ab; $custom-light: #7983c5; $custom-dark: #000000;
JSON
{
"hex": "#3154ab",
"rgb": {
"r": 49,
"g": 84,
"b": 171
},
"hsl": {
"h": 222.787,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.46938,
"c": 0.14535,
"h": 264.8
},
"luminance": 0.09934
}Semantic roles & 50–950 ramp
primary
#3154AB
secondary
#C2AC75
accent
#B449DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82