#1B236E#1B236E
#1B236E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.128 H 271.5°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1B236E |
|---|---|
| RGB | rgb(27, 35, 110) |
| HSL | hsl(234, 61%, 27%) |
| HSV | hsv(234, 75%, 43%) |
| CMYK | cmyk(75.5%, 68.2%, 0%, 56.9%) |
| CIE-LAB | lab(18.19, 24.59, -44.44) |
| CIE-LCH | lch(18.19, 50.79, 298.96°) |
| OKLab | oklab(30.46% 0.0035 -0.1284) |
| OKLCH | oklch(30.46% 0.128 271.5) |
| XYZ | xyz(3.8665, 2.5605, 15.0393) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.17
Royal
#0C1793
ΔE00 7.02
Darkblue (survey)
#030764
ΔE00 7.06
Marine
#042E60
ΔE00 7.16
Dark Royal Blue
#02066F
ΔE00 7.21
Navy Blue (survey)
#001146
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B236E #6E661B
analogous
#1B4D6E #1B236E #3D1B6E
triadic
#1B236E #6E1B23 #236E1B
tetradic
#1B236E #6E1B4D #6E661B #1B6E3D
square
#1B236E #6E1B4D #6E661B #1B6E3D
split-complementary
#1B236E #6E3D1B #4D6E1B
monochromatic
#060819 #0F133D #1B236E #27339F #3644CE
Accessibility & contrast
On white
13.89
#1B236E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1B236E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B236E
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B236E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B236E | 1.00 | 13.89 | 1.51 | 13.89 |
| #FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1b236e; /* rgb */ color: rgb(27, 35, 110); /* oklch */ color: oklch(30.5% 0.128 271.5);
Tailwind
colors: {
custom: {
50: '#655e98',
500: '#1b236e',
950: '#000000',
},
}SCSS
$custom: #1b236e; $custom-light: #655e98; $custom-dark: #000000;
JSON
{
"hex": "#1b236e",
"rgb": {
"r": 27,
"g": 35,
"b": 110
},
"hsl": {
"h": 234.217,
"s": 60.584,
"l": 26.863
},
"oklch": {
"l": 0.30464,
"c": 0.12846,
"h": 271.5
},
"luminance": 0.02561
}Semantic roles & 50–950 ramp
primary
#1B236E
secondary
#A39A42
accent
#D444E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E