#4150AF#4150AF
#4150AF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.151 H 272.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4150AF |
|---|---|
| RGB | rgb(65, 80, 175) |
| HSL | hsl(232, 46%, 47%) |
| HSV | hsv(232, 63%, 69%) |
| CMYK | cmyk(62.9%, 54.3%, 0%, 31.4%) |
| CIE-LAB | lab(37.76, 24.45, -52.66) |
| CIE-LCH | lch(37.76, 58.06, 294.90°) |
| OKLab | oklab(47.29% 0.0067 -0.1511) |
| OKLCH | oklch(47.29% 0.151 272.5) |
| XYZ | xyz(12.7839, 9.9552, 41.7970) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 5.06
Blue Blue
#2242C7
ΔE00 5.57
Cobalt
#0047AB
ΔE00 5.64
Ocean Blue
#4F42B5
ΔE00 5.71
Blueberry
#464196
ΔE00 6.20
Iris
#6258C4
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4150AF #AFA041
analogous
#4187AF #4150AF #6941AF
triadic
#4150AF #AF4150 #50AF41
tetradic
#4150AF #AF4187 #AFA041 #41AF69
square
#4150AF #AF4187 #AFA041 #41AF69
split-complementary
#4150AF #AF6941 #87AF41
monochromatic
#202756 #303C82 #4150AF #6774C6 #939DD7
Accessibility & contrast
On white
7.02
#4150AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#4150AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4150AF
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4150AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4150AF | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F5EB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4150af; /* rgb */ color: rgb(65, 80, 175); /* oklch */ color: oklch(47.3% 0.151 272.5);
Tailwind
colors: {
custom: {
50: '#8180c7',
500: '#4150af',
950: '#000000',
},
}SCSS
$custom: #4150af; $custom-light: #8180c7; $custom-dark: #000000;
JSON
{
"hex": "#4150af",
"rgb": {
"r": 65,
"g": 80,
"b": 175
},
"hsl": {
"h": 231.818,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.47286,
"c": 0.15128,
"h": 272.5
},
"luminance": 0.09956
}Semantic roles & 50–950 ramp
primary
#4150AF
secondary
#C2BB89
accent
#C452D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82