#3150AD#3150AD
#3150AD is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.153 H 266.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3150AD |
|---|---|
| RGB | rgb(49, 80, 173) |
| HSL | hsl(225, 56%, 44%) |
| HSV | hsv(225, 72%, 68%) |
| CMYK | cmyk(71.7%, 53.8%, 0%, 32.2%) |
| CIE-LAB | lab(36.75, 21.16, -53.15) |
| CIE-LCH | lch(36.75, 57.20, 291.71°) |
| OKLab | oklab(46.25% -0.0094 -0.1529) |
| OKLCH | oklch(46.25% 0.153 266.5) |
| XYZ | xyz(11.6755, 9.4062, 40.7273) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.94
Cobalt
#0047AB
ΔE00 3.72
Cobalt (survey)
#1E488F
ΔE00 5.20
Denim Blue
#3B5B92
ΔE00 5.40
Dusk Blue
#26538D
ΔE00 5.57
Blue Blue
#2242C7
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3150AD #AD8E31
analogous
#318EAD #3150AD #5031AD
triadic
#3150AD #AD3150 #50AD31
tetradic
#3150AD #AD318E #AD8E31 #31AD50
square
#3150AD #AD318E #AD8E31 #31AD50
split-complementary
#3150AD #AD5031 #8EAD31
monochromatic
#16244E #233A7D #3150AD #4E6ECD #7E95DA
Accessibility & contrast
On white
7.29
#3150AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#3150AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3150AD
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3150AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3150AD | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B5CB0
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3150ad; /* rgb */ color: rgb(49, 80, 173); /* oklch */ color: oklch(46.3% 0.153 266.5);
Tailwind
colors: {
custom: {
50: '#7980c6',
500: '#3150ad',
950: '#000000',
},
}SCSS
$custom: #3150ad; $custom-light: #7980c6; $custom-dark: #000000;
JSON
{
"hex": "#3150ad",
"rgb": {
"r": 49,
"g": 80,
"b": 173
},
"hsl": {
"h": 225,
"s": 55.856,
"l": 43.529
},
"oklch": {
"l": 0.4625,
"c": 0.1532,
"h": 266.5
},
"luminance": 0.09407
}Semantic roles & 50–950 ramp
primary
#3150AD
secondary
#C3B077
accent
#BA49DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82