#1B286E#1B286E
#1B286E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.122 H 269.8°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1B286E |
|---|---|
| RGB | rgb(27, 40, 110) |
| HSL | hsl(231, 61%, 27%) |
| HSV | hsv(231, 75%, 43%) |
| CMYK | cmyk(75.5%, 63.6%, 0%, 56.9%) |
| CIE-LAB | lab(19.54, 21.08, -42.23) |
| CIE-LCH | lch(19.54, 47.20, 296.53°) |
| OKLab | oklab(31.46% -0.0004 -0.1219) |
| OKLCH | oklch(31.46% 0.122 269.8) |
| XYZ | xyz(4.0243, 2.8760, 15.0919) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.91
Marine
#042E60
ΔE00 5.67
Navy Blue
#1B2A4A
ΔE00 7.69
Marine Blue
#01386A
ΔE00 8.10
Royal
#0C1793
ΔE00 8.13
Navy Blue (survey)
#001146
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B286E #6E611B
analogous
#1B526E #1B286E #371B6E
triadic
#1B286E #6E1B28 #286E1B
tetradic
#1B286E #6E1B52 #6E611B #1B6E37
square
#1B286E #6E1B52 #6E611B #1B6E37
split-complementary
#1B286E #6E371B #526E1B
monochromatic
#060919 #0F163D #1B286E #273A9F #364ECE
Accessibility & contrast
On white
13.33
#1B286E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1B286E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B286E
13.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B286E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B286E | 1.00 | 13.33 | 1.58 | 13.33 |
| #FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b286e; /* rgb */ color: rgb(27, 40, 110); /* oklch */ color: oklch(31.5% 0.122 269.8);
Tailwind
colors: {
custom: {
50: '#656198',
500: '#1b286e',
950: '#000000',
},
}SCSS
$custom: #1b286e; $custom-light: #656198; $custom-dark: #000000;
JSON
{
"hex": "#1b286e",
"rgb": {
"r": 27,
"g": 40,
"b": 110
},
"hsl": {
"h": 230.602,
"s": 60.584,
"l": 26.863
},
"oklch": {
"l": 0.31458,
"c": 0.12189,
"h": 269.8
},
"luminance": 0.02876
}Semantic roles & 50–950 ramp
primary
#1B286E
secondary
#A39442
accent
#CB44E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E