#3858CB#3858CB
#3858CB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.182 H 267.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #3858CB |
|---|---|
| RGB | rgb(56, 88, 203) |
| HSL | hsl(227, 59%, 51%) |
| HSV | hsv(227, 72%, 80%) |
| CMYK | cmyk(72.4%, 56.7%, 0%, 20.4%) |
| CIE-LAB | lab(41.42, 27.97, -63.11) |
| CIE-LCH | lch(41.42, 69.03, 293.90°) |
| OKLab | oklab(50.55% -0.0077 -0.182) |
| OKLCH | oklch(50.55% 0.182 267.6) |
| XYZ | xyz(15.8964, 12.1303, 57.9920) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.71
Azul
#1D5DEC
ΔE00 4.32
Sapphire
#0F52BA
ΔE00 4.56
Denim
#1560BD
ΔE00 6.02
Electric Blue
#0652FF
ΔE00 6.11
Royal Blue
#4169E1
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3858CB #CBAB38
analogous
#38A1CB #3858CB #6138CB
triadic
#3858CB #CB3858 #58CB38
tetradic
#3858CB #CB38A1 #CBAB38 #38CB61
square
#3858CB #CB38A1 #CBAB38 #38CB61
split-complementary
#3858CB #CB6138 #A1CB38
monochromatic
#1C2E6C #29429D #3858CB #6981D8 #99A9E4
Accessibility & contrast
On white
6.13
#3858CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#3858CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3858CB
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3858CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3858CB | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #3858cb; /* rgb */ color: rgb(56, 88, 203); /* oklch */ color: oklch(50.6% 0.182 267.6);
Tailwind
colors: {
custom: {
50: '#8286dc',
500: '#3858cb',
950: '#000000',
},
}SCSS
$custom: #3858cb; $custom-light: #8286dc; $custom-dark: #000000;
JSON
{
"hex": "#3858cb",
"rgb": {
"r": 56,
"g": 88,
"b": 203
},
"hsl": {
"h": 226.939,
"s": 58.566,
"l": 50.784
},
"oklch": {
"l": 0.50551,
"c": 0.18213,
"h": 267.6
},
"luminance": 0.12132
}Semantic roles & 50–950 ramp
primary
#3858CB
secondary
#D0C28F
accent
#C046E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83