#1830B4#1830B4
#1830B4 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.0% C 0.206 H 266.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1830B4 |
|---|---|
| RGB | rgb(24, 48, 180) |
| HSL | hsl(231, 76%, 40%) |
| HSV | hsv(231, 87%, 71%) |
| CMYK | cmyk(86.7%, 73.3%, 0%, 29.4%) |
| CIE-LAB | lab(28.39, 42.09, -71.05) |
| CIE-LCH | lch(28.39, 82.58, 300.64°) |
| OKLab | oklab(39.98% -0.012 -0.206) |
| OKLCH | oklch(39.98% 0.206 266.7) |
| XYZ | xyz(9.6690, 5.6022, 43.7429) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.56
Blue Blue
#2242C7
ΔE00 5.46
Indigo Blue
#3A18B1
ΔE00 5.83
True Blue
#010FCC
ΔE00 6.09
Ocean Blue
#4F42B5
ΔE00 6.87
Mediumblue
#0000CD
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1830B4 #B49C18
analogous
#187EB4 #1830B4 #4E18B4
triadic
#1830B4 #B41830 #30B418
tetradic
#1830B4 #B4187E #B49C18 #18B44E
square
#1830B4 #B4187E #B49C18 #18B44E
split-complementary
#1830B4 #B44E18 #7EB418
monochromatic
#0A1348 #11227E #1830B4 #2744E2 #5D73E9
Accessibility & contrast
On white
9.90
#1830B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#1830B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1830B4
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1830B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1830B4 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1830b4; /* rgb */ color: rgb(24, 48, 180); /* oklch */ color: oklch(40.0% 0.206 266.7);
Tailwind
colors: {
custom: {
50: '#7669cc',
500: '#1830b4',
950: '#000000',
},
}SCSS
$custom: #1830b4; $custom-light: #7669cc; $custom-dark: #000000;
JSON
{
"hex": "#1830b4",
"rgb": {
"r": 24,
"g": 48,
"b": 180
},
"hsl": {
"h": 230.769,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.3998,
"c": 0.20637,
"h": 266.7
},
"luminance": 0.05603
}Semantic roles & 50–950 ramp
primary
#1830B4
secondary
#CDBC5B
accent
#D635F3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82