#1B2C8F#1B2C8F
#1B2C8F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.163 H 268.4°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2C8F |
|---|---|
| RGB | rgb(27, 44, 143) |
| HSL | hsl(231, 68%, 33%) |
| HSV | hsv(231, 81%, 56%) |
| CMYK | cmyk(81.1%, 69.2%, 0%, 43.9%) |
| CIE-LAB | lab(23.73, 31.21, -56.26) |
| CIE-LCH | lch(23.73, 64.33, 299.02°) |
| OKLab | oklab(35.5% -0.0046 -0.1629) |
| OKLCH | oklch(35.5% 0.163 268.4) |
| XYZ | xyz(6.3089, 4.0168, 26.4241) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.92
Royal
#0C1793
ΔE00 5.35
Midnight Blue
#191970
ΔE00 6.45
Blueberry
#464196
ΔE00 7.39
Darkslateblue
#483D8B
ΔE00 7.44
Cobalt Blue
#030AA7
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2C8F #8F7E1B
analogous
#1B668F #1B2C8F #441B8F
triadic
#1B2C8F #8F1B2C #2C8F1B
tetradic
#1B2C8F #8F1B66 #8F7E1B #1B8F44
square
#1B2C8F #8F1B66 #8F7E1B #1B8F44
split-complementary
#1B2C8F #8F441B #668F1B
monochromatic
#080C28 #111C5C #1B2C8F #253CC2 #485EDC
Accessibility & contrast
On white
11.64
#1B2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#1B2C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2C8F
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2C8F | 1.00 | 11.64 | 1.80 | 11.64 |
| #FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1b2c8f; /* rgb */ color: rgb(27, 44, 143); /* oklch */ color: oklch(35.5% 0.163 268.4);
Tailwind
colors: {
custom: {
50: '#6d65b1',
500: '#1b2c8f',
950: '#000000',
},
}SCSS
$custom: #1b2c8f; $custom-light: #6d65b1; $custom-dark: #000000;
JSON
{
"hex": "#1b2c8f",
"rgb": {
"r": 27,
"g": 44,
"b": 143
},
"hsl": {
"h": 231.207,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.35496,
"c": 0.16297,
"h": 268.4
},
"luminance": 0.04018
}Semantic roles & 50–950 ramp
primary
#1B2C8F
secondary
#BEAD48
accent
#D23DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80