#3850AF#3850AF
#3850AF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.154 H 269.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #3850AF |
|---|---|
| RGB | rgb(56, 80, 175) |
| HSL | hsl(228, 52%, 45%) |
| HSV | hsv(228, 68%, 69%) |
| CMYK | cmyk(68%, 54.3%, 0%, 31.4%) |
| CIE-LAB | lab(37.25, 22.94, -53.52) |
| CIE-LCH | lch(37.25, 58.23, 293.21°) |
| OKLab | oklab(46.76% -0.0027 -0.1539) |
| OKLCH | oklch(46.76% 0.154 269) |
| XYZ | xyz(12.2348, 9.6721, 41.7712) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.74
Cobalt
#0047AB
ΔE00 4.48
Blue Blue
#2242C7
ΔE00 5.46
Denim Blue
#3B5B92
ΔE00 5.90
Cobalt (survey)
#1E488F
ΔE00 6.00
Dusk Blue
#26538D
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3850AF #AF9738
analogous
#388BAF #3850AF #5B38AF
triadic
#3850AF #AF3850 #50AF38
tetradic
#3850AF #AF388B #AF9738 #38AF5B
square
#3850AF #AF388B #AF9738 #38AF5B
split-complementary
#3850AF #AF5B38 #8BAF38
monochromatic
#1A2652 #293B81 #3850AF #5A71CA #8899D9
Accessibility & contrast
On white
7.16
#3850AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#3850AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3850AF
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3850AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3850AF | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#095DB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3850af; /* rgb */ color: rgb(56, 80, 175); /* oklch */ color: oklch(46.8% 0.154 269.0);
Tailwind
colors: {
custom: {
50: '#7d80c8',
500: '#3850af',
950: '#000000',
},
}SCSS
$custom: #3850af; $custom-light: #7d80c8; $custom-dark: #000000;
JSON
{
"hex": "#3850af",
"rgb": {
"r": 56,
"g": 80,
"b": 175
},
"hsl": {
"h": 227.899,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.46762,
"c": 0.15388,
"h": 269
},
"luminance": 0.09673
}Semantic roles & 50–950 ramp
primary
#3850AF
secondary
#C3B680
accent
#BE4DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82