#1B2F8F#1B2F8F
#1B2F8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.159 H 267.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F8F |
|---|---|
| RGB | rgb(27, 47, 143) |
| HSL | hsl(230, 68%, 33%) |
| HSV | hsv(230, 81%, 56%) |
| CMYK | cmyk(81.1%, 67.1%, 0%, 43.9%) |
| CIE-LAB | lab(24.48, 29.21, -55.02) |
| CIE-LCH | lch(24.48, 62.30, 297.96°) |
| OKLab | oklab(36.04% -0.0061 -0.1593) |
| OKLCH | oklch(36.04% 0.159 267.8) |
| XYZ | xyz(6.4247, 4.2485, 26.4627) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.52
Royal
#0C1793
ΔE00 6.28
Blueberry
#464196
ΔE00 6.91
Darkslateblue
#483D8B
ΔE00 7.12
Midnight Blue
#191970
ΔE00 7.14
Marine
#042E60
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F8F #8F7B1B
analogous
#1B698F #1B2F8F #411B8F
triadic
#1B2F8F #8F1B2F #2F8F1B
tetradic
#1B2F8F #8F1B69 #8F7B1B #1B8F41
square
#1B2F8F #8F1B69 #8F7B1B #1B8F41
split-complementary
#1B2F8F #8F411B #698F1B
monochromatic
#080D28 #111E5C #1B2F8F #2540C2 #4862DC
Accessibility & contrast
On white
11.35
#1B2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#1B2F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F8F
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F8F | 1.00 | 11.35 | 1.85 | 11.35 |
| #FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1b2f8f; /* rgb */ color: rgb(27, 47, 143); /* oklch */ color: oklch(36.0% 0.159 267.8);
Tailwind
colors: {
custom: {
50: '#6d67b1',
500: '#1b2f8f',
950: '#000000',
},
}SCSS
$custom: #1b2f8f; $custom-light: #6d67b1; $custom-dark: #000000;
JSON
{
"hex": "#1b2f8f",
"rgb": {
"r": 27,
"g": 47,
"b": 143
},
"hsl": {
"h": 229.655,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.36044,
"c": 0.15942,
"h": 267.8
},
"luminance": 0.04249
}Semantic roles & 50–950 ramp
primary
#1B2F8F
secondary
#BEAA48
accent
#CD3DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80