#1B308F#1B308F
#1B308F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.158 H 267.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1B308F |
|---|---|
| RGB | rgb(27, 48, 143) |
| HSL | hsl(229, 68%, 33%) |
| HSV | hsv(229, 81%, 56%) |
| CMYK | cmyk(81.1%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(24.73, 28.54, -54.61) |
| CIE-LCH | lch(24.73, 61.61, 297.59°) |
| OKLab | oklab(36.23% -0.0067 -0.1581) |
| OKLCH | oklch(36.23% 0.158 267.6) |
| XYZ | xyz(6.4651, 4.3293, 26.4762) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.42
Royal
#0C1793
ΔE00 6.60
Blueberry
#464196
ΔE00 6.77
Darkslateblue
#483D8B
ΔE00 7.03
Midnight Blue
#191970
ΔE00 7.38
Cobalt
#0047AB
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B308F #8F7A1B
analogous
#1B6A8F #1B308F #401B8F
triadic
#1B308F #8F1B30 #308F1B
tetradic
#1B308F #8F1B6A #8F7A1B #1B8F40
square
#1B308F #8F1B6A #8F7A1B #1B8F40
split-complementary
#1B308F #8F401B #6A8F1B
monochromatic
#080D28 #111F5C #1B308F #2541C2 #4863DC
Accessibility & contrast
On white
11.25
#1B308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1B308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B308F
11.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B308F | 1.00 | 11.25 | 1.87 | 11.25 |
| #FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1b308f; /* rgb */ color: rgb(27, 48, 143); /* oklch */ color: oklch(36.2% 0.158 267.6);
Tailwind
colors: {
custom: {
50: '#6d68b1',
500: '#1b308f',
950: '#000000',
},
}SCSS
$custom: #1b308f; $custom-light: #6d68b1; $custom-dark: #000000;
JSON
{
"hex": "#1b308f",
"rgb": {
"r": 27,
"g": 48,
"b": 143
},
"hsl": {
"h": 229.138,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.36231,
"c": 0.15821,
"h": 267.6
},
"luminance": 0.0433
}Semantic roles & 50–950 ramp
primary
#1B308F
secondary
#BEA948
accent
#CC3DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80