#1B296F#1B296F
#1B296F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.122 H 269.4°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1B296F |
|---|---|
| RGB | rgb(27, 41, 111) |
| HSL | hsl(230, 61%, 27%) |
| HSV | hsv(230, 76%, 44%) |
| CMYK | cmyk(75.7%, 63.1%, 0%, 56.5%) |
| CIE-LAB | lab(19.91, 20.77, -42.27) |
| CIE-LCH | lch(19.91, 47.10, 296.16°) |
| OKLab | oklab(31.76% -0.0012 -0.122) |
| OKLCH | oklch(31.76% 0.122 269.4) |
| XYZ | xyz(4.1132, 2.9662, 15.3916) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.18
Marine
#042E60
ΔE00 5.48
Navy Blue
#1B2A4A
ΔE00 7.68
Marine Blue
#01386A
ΔE00 7.82
Royal
#0C1793
ΔE00 8.22
Navy Blue (survey)
#001146
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B296F #6F611B
analogous
#1B536F #1B296F #371B6F
triadic
#1B296F #6F1B29 #296F1B
tetradic
#1B296F #6F1B53 #6F611B #1B6F37
square
#1B296F #6F1B53 #6F611B #1B6F37
split-complementary
#1B296F #6F371B #536F1B
monochromatic
#060919 #0F173E #1B296F #273BA0 #3650CE
Accessibility & contrast
On white
13.18
#1B296F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1B296F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B296F
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B296F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B296F | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b296f; /* rgb */ color: rgb(27, 41, 111); /* oklch */ color: oklch(31.8% 0.122 269.4);
Tailwind
colors: {
custom: {
50: '#656299',
500: '#1b296f',
950: '#000000',
},
}SCSS
$custom: #1b296f; $custom-light: #656299; $custom-dark: #000000;
JSON
{
"hex": "#1b296f",
"rgb": {
"r": 27,
"g": 41,
"b": 111
},
"hsl": {
"h": 230,
"s": 60.87,
"l": 27.059
},
"oklch": {
"l": 0.31759,
"c": 0.12202,
"h": 269.4
},
"luminance": 0.02967
}Semantic roles & 50–950 ramp
primary
#1B296F
secondary
#A49442
accent
#C944E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E