#1B2F8C#1B2F8C
#1B2F8C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.155 H 267.8°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F8C |
|---|---|
| RGB | rgb(27, 47, 140) |
| HSL | hsl(229, 68%, 33%) |
| HSV | hsv(229, 81%, 55%) |
| CMYK | cmyk(80.7%, 66.4%, 0%, 45.1%) |
| CIE-LAB | lab(24.19, 28.05, -53.63) |
| CIE-LCH | lch(24.19, 60.53, 297.61°) |
| OKLab | oklab(35.75% -0.006 -0.1552) |
| OKLCH | oklch(35.75% 0.155 267.8) |
| XYZ | xyz(6.2005, 4.1588, 25.2818) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.90
Royal
#0C1793
ΔE00 6.47
Midnight Blue
#191970
ΔE00 6.96
Blueberry
#464196
ΔE00 6.99
Darkslateblue
#483D8B
ΔE00 7.10
Marine
#042E60
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F8C #8C781B
analogous
#1B678C #1B2F8C #401B8C
triadic
#1B2F8C #8C1B2F #2F8C1B
tetradic
#1B2F8C #8C1B67 #8C781B #1B8C40
square
#1B2F8C #8C1B67 #8C781B #1B8C40
split-complementary
#1B2F8C #8C401B #678C1B
monochromatic
#070D25 #111E59 #1B2F8C #2540BF #4660DB
Accessibility & contrast
On white
11.46
#1B2F8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1B2F8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F8C
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F8C | 1.00 | 11.46 | 1.83 | 11.46 |
| #FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1b2f8c; /* rgb */ color: rgb(27, 47, 140); /* oklch */ color: oklch(35.7% 0.155 267.8);
Tailwind
colors: {
custom: {
50: '#6c67af',
500: '#1b2f8c',
950: '#000000',
},
}SCSS
$custom: #1b2f8c; $custom-light: #6c67af; $custom-dark: #000000;
JSON
{
"hex": "#1b2f8c",
"rgb": {
"r": 27,
"g": 47,
"b": 140
},
"hsl": {
"h": 229.381,
"s": 67.665,
"l": 32.745
},
"oklch": {
"l": 0.35746,
"c": 0.15536,
"h": 267.8
},
"luminance": 0.04159
}Semantic roles & 50–950 ramp
primary
#1B2F8C
secondary
#BDA846
accent
#CC3DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F