#3150AF#3150AF
#3150AF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.156 H 266.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3150AF |
|---|---|
| RGB | rgb(49, 80, 175) |
| HSL | hsl(225, 56%, 44%) |
| HSV | hsv(225, 72%, 69%) |
| CMYK | cmyk(72%, 54.3%, 0%, 31.4%) |
| CIE-LAB | lab(36.90, 21.91, -54.10) |
| CIE-LCH | lch(36.90, 58.36, 292.05°) |
| OKLab | oklab(46.41% -0.0092 -0.1557) |
| OKLCH | oklch(46.41% 0.156 266.6) |
| XYZ | xyz(11.8704, 9.4842, 41.7542) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.88
Cobalt
#0047AB
ΔE00 3.79
Cobalt (survey)
#1E488F
ΔE00 5.44
Denim Blue
#3B5B92
ΔE00 5.59
Blue Blue
#2242C7
ΔE00 5.59
Dusk Blue
#26538D
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3150AF #AF9031
analogous
#318FAF #3150AF #5131AF
triadic
#3150AF #AF3150 #50AF31
tetradic
#3150AF #AF318F #AF9031 #31AF51
square
#3150AF #AF318F #AF9031 #31AF51
split-complementary
#3150AF #AF5131 #8FAF31
monochromatic
#16244F #243A7F #3150AF #4F6ECE #7F96DB
Accessibility & contrast
On white
7.25
#3150AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#3150AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3150AF
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3150AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3150AF | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#045DB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #3150af; /* rgb */ color: rgb(49, 80, 175); /* oklch */ color: oklch(46.4% 0.156 266.6);
Tailwind
colors: {
custom: {
50: '#7a80c8',
500: '#3150af',
950: '#000000',
},
}SCSS
$custom: #3150af; $custom-light: #7a80c8; $custom-dark: #000000;
JSON
{
"hex": "#3150af",
"rgb": {
"r": 49,
"g": 80,
"b": 175
},
"hsl": {
"h": 225.238,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.46406,
"c": 0.15598,
"h": 266.6
},
"luminance": 0.09485
}Semantic roles & 50–950 ramp
primary
#3150AF
secondary
#C4B178
accent
#BA48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82