#1B299F#1B299F
#1B299F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.187 H 268.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1B299F |
|---|---|
| RGB | rgb(27, 41, 159) |
| HSL | hsl(234, 71%, 36%) |
| HSV | hsv(234, 83%, 62%) |
| CMYK | cmyk(83%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(24.71, 39.01, -64.48) |
| CIE-LCH | lch(24.71, 75.36, 301.18°) |
| OKLab | oklab(36.7% -0.005 -0.1868) |
| OKLCH | oklch(36.7% 0.187 268.5) |
| XYZ | xyz(7.5008, 4.3212, 33.2329) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.30
Royal
#0C1793
ΔE00 4.41
Indigo Blue
#3A18B1
ΔE00 5.41
Cobalt Blue
#030AA7
ΔE00 5.70
Royal Blue (survey)
#0504AA
ΔE00 6.25
Ultramarine
#2000B1
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B299F #9F911B
analogous
#1B6B9F #1B299F #4F1B9F
triadic
#1B299F #9F1B29 #299F1B
tetradic
#1B299F #9F1B6B #9F911B #1B9F4F
square
#1B299F #9F1B6B #9F911B #1B9F4F
split-complementary
#1B299F #9F4F1B #6B9F1B
monochromatic
#090E36 #121C6B #1B299F #2436D3 #5362E2
Accessibility & contrast
On white
11.26
#1B299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1B299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B299F
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B299F | 1.00 | 11.26 | 1.86 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1b299f; /* rgb */ color: rgb(27, 41, 159); /* oklch */ color: oklch(36.7% 0.187 268.5);
Tailwind
colors: {
custom: {
50: '#7264bd',
500: '#1b299f',
950: '#000000',
},
}SCSS
$custom: #1b299f; $custom-light: #7264bd; $custom-dark: #000000;
JSON
{
"hex": "#1b299f",
"rgb": {
"r": 27,
"g": 41,
"b": 159
},
"hsl": {
"h": 233.636,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.36703,
"c": 0.18692,
"h": 268.5
},
"luminance": 0.04322
}Semantic roles & 50–950 ramp
primary
#1B299F
secondary
#C5B851
accent
#DB3AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81