#1B2FB4#1B2FB4
#1B2FB4 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 39.9% C 0.207 H 267.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2FB4 |
|---|---|
| RGB | rgb(27, 47, 180) |
| HSL | hsl(232, 74%, 41%) |
| HSV | hsv(232, 85%, 71%) |
| CMYK | cmyk(85%, 73.9%, 0%, 29.4%) |
| CIE-LAB | lab(28.27, 42.85, -71.23) |
| CIE-LCH | lch(28.27, 83.13, 301.03°) |
| OKLab | oklab(39.93% -0.0094 -0.2065) |
| OKLCH | oklch(39.93% 0.207 267.4) |
| XYZ | xyz(9.7039, 5.5601, 43.7329) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.83
Indigo Blue
#3A18B1
ΔE00 5.48
Blue Blue
#2242C7
ΔE00 5.68
True Blue
#010FCC
ΔE00 5.82
Mediumblue
#0000CD
ΔE00 6.85
Ocean Blue
#4F42B5
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2FB4 #B4A01B
analogous
#1B7BB4 #1B2FB4 #531BB4
triadic
#1B2FB4 #B41B2F #2FB41B
tetradic
#1B2FB4 #B41B7B #B4A01B #1BB453
square
#1B2FB4 #B41B7B #B4A01B #1BB453
split-complementary
#1B2FB4 #B4531B #7BB41B
monochromatic
#0B134A #13217F #1B2FB4 #2D44DF #6273E7
Accessibility & contrast
On white
9.94
#1B2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#1B2FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2FB4
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2FB4 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1b2fb4; /* rgb */ color: rgb(27, 47, 180); /* oklch */ color: oklch(39.9% 0.207 267.4);
Tailwind
colors: {
custom: {
50: '#7768cc',
500: '#1b2fb4',
950: '#000000',
},
}SCSS
$custom: #1b2fb4; $custom-light: #7768cc; $custom-dark: #000000;
JSON
{
"hex": "#1b2fb4",
"rgb": {
"r": 27,
"g": 47,
"b": 180
},
"hsl": {
"h": 232.157,
"s": 73.913,
"l": 40.588
},
"oklch": {
"l": 0.3993,
"c": 0.2067,
"h": 267.4
},
"luminance": 0.05561
}Semantic roles & 50–950 ramp
primary
#1B2FB4
secondary
#CCBE5F
accent
#D837F1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82