#3154BF#3154BF
#3154BF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.173 H 266.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3154BF |
|---|---|
| RGB | rgb(49, 84, 191) |
| HSL | hsl(225, 59%, 47%) |
| HSV | hsv(225, 74%, 75%) |
| CMYK | cmyk(74.3%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(39.16, 25.26, -59.83) |
| CIE-LCH | lch(39.16, 64.95, 292.89°) |
| OKLab | oklab(48.49% -0.0113 -0.1725) |
| OKLCH | oklch(48.49% 0.173 266.2) |
| XYZ | xyz(13.8376, 10.7537, 50.6265) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.82
Cobalt
#0047AB
ΔE00 5.44
Warm Blue
#4B57DB
ΔE00 5.50
Blue Blue
#2242C7
ΔE00 5.69
Denim
#1560BD
ΔE00 5.85
Azul
#1D5DEC
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3154BF #BF9C31
analogous
#319BBF #3154BF #5531BF
triadic
#3154BF #BF3154 #54BF31
tetradic
#3154BF #BF319B #BF9C31 #31BF55
square
#3154BF #BF319B #BF9C31 #31BF55
split-complementary
#3154BF #BF5531 #9BBF31
monochromatic
#18295E #253F8E #3154BF #5977D4 #8A9FE1
Accessibility & contrast
On white
6.66
#3154BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#3154BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3154BF
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3154BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3154BF | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3154bf; /* rgb */ color: rgb(49, 84, 191); /* oklch */ color: oklch(48.5% 0.173 266.2);
Tailwind
colors: {
custom: {
50: '#7d83d3',
500: '#3154bf',
950: '#000000',
},
}SCSS
$custom: #3154bf; $custom-light: #7d83d3; $custom-dark: #000000;
JSON
{
"hex": "#3154bf",
"rgb": {
"r": 49,
"g": 84,
"b": 191
},
"hsl": {
"h": 225.211,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.48485,
"c": 0.17289,
"h": 266.2
},
"luminance": 0.10755
}Semantic roles & 50–950 ramp
primary
#3154BF
secondary
#CBB981
accent
#BC45E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83