#1B336E#1B336E
#1B336E is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.107 H 264.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1B336E |
|---|---|
| RGB | rgb(27, 51, 110) |
| HSL | hsl(223, 61%, 27%) |
| HSV | hsv(223, 75%, 43%) |
| CMYK | cmyk(75.5%, 53.6%, 0%, 56.9%) |
| CIE-LAB | lab(22.74, 13.20, -37.03) |
| CIE-LCH | lch(22.74, 39.31, 289.62°) |
| OKLab | oklab(33.87% -0.01 -0.1064) |
| OKLCH | oklch(33.87% 0.107 264.6) |
| XYZ | xyz(4.4493, 3.7260, 15.2335) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.31
Marine Blue
#01386A
ΔE00 4.51
Darkish Blue
#014182
ΔE00 6.19
Navy Blue
#1B2A4A
ΔE00 6.73
Twilight Blue
#0A437A
ΔE00 6.76
Cobalt (survey)
#1E488F
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B336E #6E561B
analogous
#1B5D6E #1B336E #2D1B6E
triadic
#1B336E #6E1B33 #336E1B
tetradic
#1B336E #6E1B5D #6E561B #1B6E2D
square
#1B336E #6E1B5D #6E561B #1B6E2D
split-complementary
#1B336E #6E2D1B #5D6E1B
monochromatic
#060B19 #0F1C3D #1B336E #274A9F #3662CE
Accessibility & contrast
On white
12.03
#1B336E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#1B336E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B336E
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B336E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B336E | 1.00 | 12.03 | 1.75 | 12.03 |
| #FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E3A70
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1b336e; /* rgb */ color: rgb(27, 51, 110); /* oklch */ color: oklch(33.9% 0.107 264.6);
Tailwind
colors: {
custom: {
50: '#646a98',
500: '#1b336e',
950: '#000000',
},
}SCSS
$custom: #1b336e; $custom-light: #646a98; $custom-dark: #000000;
JSON
{
"hex": "#1b336e",
"rgb": {
"r": 27,
"g": 51,
"b": 110
},
"hsl": {
"h": 222.651,
"s": 60.584,
"l": 26.863
},
"oklch": {
"l": 0.33866,
"c": 0.10689,
"h": 264.6
},
"luminance": 0.03726
}Semantic roles & 50–950 ramp
primary
#1B336E
secondary
#A38742
accent
#B644E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E