#1B298E#1B298E
#1B298E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.165 H 269.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1B298E |
|---|---|
| RGB | rgb(27, 41, 142) |
| HSL | hsl(233, 68%, 33%) |
| HSV | hsv(233, 81%, 56%) |
| CMYK | cmyk(81%, 71.1%, 0%, 44.3%) |
| CIE-LAB | lab(22.90, 32.79, -57.00) |
| CIE-LCH | lch(22.90, 65.76, 299.91°) |
| OKLab | oklab(34.87% -0.003 -0.1651) |
| OKLCH | oklch(34.87% 0.165 269) |
| XYZ | xyz(6.1257, 3.7712, 25.9910) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.52
Sapphire (survey)
#2138AB
ΔE00 5.53
Midnight Blue
#191970
ΔE00 5.77
Cobalt Blue
#030AA7
ΔE00 6.92
Indigo Blue
#3A18B1
ΔE00 7.35
Royal Blue (survey)
#0504AA
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B298E #8E801B
analogous
#1B628E #1B298E #471B8E
triadic
#1B298E #8E1B29 #298E1B
tetradic
#1B298E #8E1B62 #8E801B #1B8E47
square
#1B298E #8E1B62 #8E801B #1B8E47
split-complementary
#1B298E #8E471B #628E1B
monochromatic
#070B27 #111A5B #1B298E #2538C1 #4759DC
Accessibility & contrast
On white
11.97
#1B298E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#1B298E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B298E
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B298E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B298E | 1.00 | 11.97 | 1.75 | 11.97 |
| #FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1b298e; /* rgb */ color: rgb(27, 41, 142); /* oklch */ color: oklch(34.9% 0.165 269.0);
Tailwind
colors: {
custom: {
50: '#6d63b0',
500: '#1b298e',
950: '#000000',
},
}SCSS
$custom: #1b298e; $custom-light: #6d63b0; $custom-dark: #000000;
JSON
{
"hex": "#1b298e",
"rgb": {
"r": 27,
"g": 41,
"b": 142
},
"hsl": {
"h": 232.696,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.34866,
"c": 0.16511,
"h": 269
},
"luminance": 0.03772
}Semantic roles & 50–950 ramp
primary
#1B298E
secondary
#BEAF47
accent
#D63DEB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980