#1B266E#1B266E
#1B266E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.125 H 270.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1B266E |
|---|---|
| RGB | rgb(27, 38, 110) |
| HSL | hsl(232, 61%, 27%) |
| HSV | hsv(232, 75%, 43%) |
| CMYK | cmyk(75.5%, 65.5%, 0%, 56.9%) |
| CIE-LAB | lab(18.99, 22.49, -43.13) |
| CIE-LCH | lch(18.99, 48.64, 297.55°) |
| OKLab | oklab(31.05% 0.0012 -0.1245) |
| OKLCH | oklch(31.05% 0.125 270.6) |
| XYZ | xyz(3.9586, 2.7446, 15.0700) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.20
Marine
#042E60
ΔE00 6.26
Royal
#0C1793
ΔE00 7.66
Navy Blue (survey)
#001146
ΔE00 7.97
Darkblue (survey)
#030764
ΔE00 8.04
Navy Blue
#1B2A4A
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B266E #6E631B
analogous
#1B506E #1B266E #3A1B6E
triadic
#1B266E #6E1B26 #266E1B
tetradic
#1B266E #6E1B50 #6E631B #1B6E3A
square
#1B266E #6E1B50 #6E631B #1B6E3A
split-complementary
#1B266E #6E3A1B #506E1B
monochromatic
#060819 #0F153D #1B266E #27379F #364ACE
Accessibility & contrast
On white
13.56
#1B266E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1B266E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B266E
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B266E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B266E | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b266e; /* rgb */ color: rgb(27, 38, 110); /* oklch */ color: oklch(31.1% 0.125 270.6);
Tailwind
colors: {
custom: {
50: '#656098',
500: '#1b266e',
950: '#000000',
},
}SCSS
$custom: #1b266e; $custom-light: #656098; $custom-dark: #000000;
JSON
{
"hex": "#1b266e",
"rgb": {
"r": 27,
"g": 38,
"b": 110
},
"hsl": {
"h": 232.048,
"s": 60.584,
"l": 26.863
},
"oklch": {
"l": 0.31052,
"c": 0.12455,
"h": 270.6
},
"luminance": 0.02745
}Semantic roles & 50–950 ramp
primary
#1B266E
secondary
#A39642
accent
#CF44E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E