#1B2D7C#1B2D7C
#1B2D7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.136 H 268.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2D7C |
|---|---|
| RGB | rgb(27, 45, 124) |
| HSL | hsl(229, 64%, 30%) |
| HSV | hsv(229, 78%, 49%) |
| CMYK | cmyk(78.2%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(22.18, 23.13, -46.89) |
| CIE-LCH | lch(22.18, 52.29, 296.26°) |
| OKLab | oklab(33.8% -0.0043 -0.1355) |
| OKLCH | oklch(33.8% 0.136 268.2) |
| XYZ | xyz(5.0272, 3.5645, 19.4879) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.98
Marine
#042E60
ΔE00 6.13
Sapphire (survey)
#2138AB
ΔE00 7.27
Royal
#0C1793
ΔE00 7.44
Marine Blue
#01386A
ΔE00 7.44
Darkslateblue
#483D8B
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2D7C #7C6A1B
analogous
#1B5E7C #1B2D7C #3A1B7C
triadic
#1B2D7C #7C1B2D #2D7C1B
tetradic
#1B2D7C #7C1B5E #7C6A1B #1B7C3A
square
#1B2D7C #7C1B5E #7C6A1B #1B7C3A
split-complementary
#1B2D7C #7C3A1B #5E7C1B
monochromatic
#050919 #101B4A #1B2D7C #263FAE #3D59D5
Accessibility & contrast
On white
12.26
#1B2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1B2D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2D7C
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2D7C | 1.00 | 12.26 | 1.71 | 12.26 |
| #FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1b2d7c; /* rgb */ color: rgb(27, 45, 124); /* oklch */ color: oklch(33.8% 0.136 268.2);
Tailwind
colors: {
custom: {
50: '#6865a3',
500: '#1b2d7c',
950: '#000000',
},
}SCSS
$custom: #1b2d7c; $custom-light: #6865a3; $custom-dark: #000000;
JSON
{
"hex": "#1b2d7c",
"rgb": {
"r": 27,
"g": 45,
"b": 124
},
"hsl": {
"h": 228.866,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.33803,
"c": 0.13558,
"h": 268.2
},
"luminance": 0.03565
}Semantic roles & 50–950 ramp
primary
#1B2D7C
secondary
#B09C43
accent
#C841E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F