#1B2A7C#1B2A7C
#1B2A7C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.139 H 269.1°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2A7C |
|---|---|
| RGB | rgb(27, 42, 124) |
| HSL | hsl(231, 64%, 30%) |
| HSV | hsv(231, 78%, 49%) |
| CMYK | cmyk(78.2%, 66.1%, 0%, 51.4%) |
| CIE-LAB | lab(21.37, 25.22, -48.21) |
| CIE-LCH | lch(21.37, 54.41, 297.62°) |
| OKLab | oklab(33.21% -0.0022 -0.1394) |
| OKLCH | oklch(33.21% 0.139 269.1) |
| XYZ | xyz(4.9168, 3.3436, 19.4511) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.00
Royal
#0C1793
ΔE00 6.56
Marine
#042E60
ΔE00 6.78
Sapphire (survey)
#2138AB
ΔE00 7.51
Darkslateblue
#483D8B
ΔE00 7.87
Marine Blue
#01386A
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2A7C #7C6D1B
analogous
#1B5A7C #1B2A7C #3D1B7C
triadic
#1B2A7C #7C1B2A #2A7C1B
tetradic
#1B2A7C #7C1B5A #7C6D1B #1B7C3D
square
#1B2A7C #7C1B5A #7C6D1B #1B7C3D
split-complementary
#1B2A7C #7C3D1B #5A7C1B
monochromatic
#050919 #10194A #1B2A7C #263BAE #3D54D5
Accessibility & contrast
On white
12.58
#1B2A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1B2A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2A7C
12.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2A7C | 1.00 | 12.58 | 1.67 | 12.58 |
| #FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1b2a7c; /* rgb */ color: rgb(27, 42, 124); /* oklch */ color: oklch(33.2% 0.139 269.1);
Tailwind
colors: {
custom: {
50: '#6863a3',
500: '#1b2a7c',
950: '#000000',
},
}SCSS
$custom: #1b2a7c; $custom-light: #6863a3; $custom-dark: #000000;
JSON
{
"hex": "#1b2a7c",
"rgb": {
"r": 27,
"g": 42,
"b": 124
},
"hsl": {
"h": 230.722,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.33209,
"c": 0.13942,
"h": 269.1
},
"luminance": 0.03344
}Semantic roles & 50–950 ramp
primary
#1B2A7C
secondary
#B09F43
accent
#CD41E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F