#3154C0#3154C0
#3154C0 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.174 H 266.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3154C0 |
|---|---|
| RGB | rgb(49, 84, 192) |
| HSL | hsl(225, 59%, 47%) |
| HSV | hsv(225, 74%, 75%) |
| CMYK | cmyk(74.5%, 56.3%, 0%, 24.7%) |
| CIE-LAB | lab(39.24, 25.64, -60.30) |
| CIE-LCH | lch(39.24, 65.52, 293.03°) |
| OKLab | oklab(48.57% -0.0113 -0.1739) |
| OKLCH | oklch(48.57% 0.174 266.3) |
| XYZ | xyz(13.9480, 10.7979, 51.2081) |
| Luminance | 0.1080 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.90
Warm Blue
#4B57DB
ΔE00 5.38
Cobalt
#0047AB
ΔE00 5.52
Blue Blue
#2242C7
ΔE00 5.65
Denim
#1560BD
ΔE00 5.90
Azul
#1D5DEC
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3154C0 #C09D31
analogous
#319BC0 #3154C0 #5631C0
triadic
#3154C0 #C03154 #54C031
tetradic
#3154C0 #C0319B #C09D31 #31C056
square
#3154C0 #C0319B #C09D31 #31C056
split-complementary
#3154C0 #C05631 #9BC031
monochromatic
#18295E #253F8F #3154C0 #5978D5 #8A9FE1
Accessibility & contrast
On white
6.65
#3154C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#3154C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3154C0
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3154C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3154C0 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3154c0; /* rgb */ color: rgb(49, 84, 192); /* oklch */ color: oklch(48.6% 0.174 266.3);
Tailwind
colors: {
custom: {
50: '#7d83d4',
500: '#3154c0',
950: '#000000',
},
}SCSS
$custom: #3154c0; $custom-light: #7d83d4; $custom-dark: #000000;
JSON
{
"hex": "#3154c0",
"rgb": {
"r": 49,
"g": 84,
"b": 192
},
"hsl": {
"h": 225.315,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.48565,
"c": 0.17424,
"h": 266.3
},
"luminance": 0.10799
}Semantic roles & 50–950 ramp
primary
#3154C0
secondary
#CBB982
accent
#BC45E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83