#3830B2#3830B2
#3830B2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.196 H 276.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #3830B2 |
|---|---|
| RGB | rgb(56, 48, 178) |
| HSL | hsl(244, 58%, 44%) |
| HSV | hsv(244, 73%, 70%) |
| CMYK | cmyk(68.5%, 73%, 0%, 30.2%) |
| CIE-LAB | lab(29.83, 44.03, -67.41) |
| CIE-LCH | lch(29.83, 80.52, 303.15°) |
| OKLab | oklab(41.4% 0.0214 -0.1948) |
| OKLCH | oklch(41.4% 0.196 276.3) |
| XYZ | xyz(10.7211, 6.1680, 42.7364) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Indigo Blue
#3A18B1
ΔE00 4.65
Ocean Blue
#4F42B5
ΔE00 5.25
Blue With A Hint Of Purple
#533CC6
ΔE00 5.29
Blurple
#5539CC
ΔE00 5.67
Blue Blue
#2242C7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3830B2 #AAB230
analogous
#3069B2 #3830B2 #7930B2
triadic
#3830B2 #B23830 #30B238
tetradic
#3830B2 #B23069 #AAB230 #30B279
square
#3830B2 #B23069 #AAB230 #30B279
split-complementary
#3830B2 #B27930 #69B230
monochromatic
#1A1652 #292382 #3830B2 #5750D0 #8580DD
Accessibility & contrast
On white
9.40
#3830B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#3830B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3830B2
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3830B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3830B2 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #3830b2; /* rgb */ color: rgb(56, 48, 178); /* oklch */ color: oklch(41.4% 0.196 276.3);
Tailwind
colors: {
custom: {
50: '#806aca',
500: '#3830b2',
950: '#000000',
},
}SCSS
$custom: #3830b2; $custom-light: #806aca; $custom-dark: #000000;
JSON
{
"hex": "#3830b2",
"rgb": {
"r": 56,
"g": 48,
"b": 178
},
"hsl": {
"h": 243.692,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.41398,
"c": 0.19597,
"h": 276.3
},
"luminance": 0.06169
}Semantic roles & 50–950 ramp
primary
#3830B2
secondary
#C1C678
accent
#E147D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82