#1B308A#1B308A
#1B308A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.151 H 267.5°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1B308A |
|---|---|
| RGB | rgb(27, 48, 138) |
| HSL | hsl(229, 67%, 32%) |
| HSV | hsv(229, 80%, 54%) |
| CMYK | cmyk(80.4%, 65.2%, 0%, 45.9%) |
| CIE-LAB | lab(24.26, 26.59, -52.27) |
| CIE-LCH | lch(24.26, 58.65, 296.96°) |
| OKLab | oklab(35.74% -0.0065 -0.1512) |
| OKLCH | oklch(35.74% 0.151 267.5) |
| XYZ | xyz(6.0948, 4.1812, 24.5257) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.09
Blueberry
#464196
ΔE00 6.93
Royal
#0C1793
ΔE00 6.94
Darkslateblue
#483D8B
ΔE00 7.03
Midnight Blue
#191970
ΔE00 7.13
Marine
#042E60
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B308A #8A751B
analogous
#1B678A #1B308A #3E1B8A
triadic
#1B308A #8A1B30 #308A1B
tetradic
#1B308A #8A1B67 #8A751B #1B8A3E
square
#1B308A #8A1B67 #8A751B #1B8A3E
split-complementary
#1B308A #8A3E1B #678A1B
monochromatic
#070C24 #111E57 #1B308A #2542BD #4561DB
Accessibility & contrast
On white
11.44
#1B308A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1B308A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B308A
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B308A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B308A | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1b308a; /* rgb */ color: rgb(27, 48, 138); /* oklch */ color: oklch(35.7% 0.151 267.5);
Tailwind
colors: {
custom: {
50: '#6b68ad',
500: '#1b308a',
950: '#000000',
},
}SCSS
$custom: #1b308a; $custom-light: #6b68ad; $custom-dark: #000000;
JSON
{
"hex": "#1b308a",
"rgb": {
"r": 27,
"g": 48,
"b": 138
},
"hsl": {
"h": 228.649,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.35741,
"c": 0.15138,
"h": 267.5
},
"luminance": 0.04182
}Semantic roles & 50–950 ramp
primary
#1B308A
secondary
#BCA545
accent
#CA3EEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F