#1B2EB4#1B2EB4
#1B2EB4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.8% C 0.208 H 267.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2EB4 |
|---|---|
| RGB | rgb(27, 46, 180) |
| HSL | hsl(233, 74%, 41%) |
| HSV | hsv(233, 85%, 71%) |
| CMYK | cmyk(85%, 74.4%, 0%, 29.4%) |
| CIE-LAB | lab(28.06, 43.44, -71.58) |
| CIE-LCH | lch(28.06, 83.73, 301.25°) |
| OKLab | oklab(39.78% -0.0091 -0.2075) |
| OKLCH | oklch(39.78% 0.208 267.5) |
| XYZ | xyz(9.6644, 5.4811, 43.7198) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.06
Indigo Blue
#3A18B1
ΔE00 5.25
True Blue
#010FCC
ΔE00 5.60
Blue Blue
#2242C7
ΔE00 5.90
Mediumblue
#0000CD
ΔE00 6.62
Ultramarine Blue
#1805DB
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2EB4 #B4A11B
analogous
#1B7AB4 #1B2EB4 #541BB4
triadic
#1B2EB4 #B41B2E #2EB41B
tetradic
#1B2EB4 #B41B7A #B4A11B #1BB454
square
#1B2EB4 #B41B7A #B4A11B #1BB454
split-complementary
#1B2EB4 #B4541B #7AB41B
monochromatic
#0B134A #13207F #1B2EB4 #2D43DF #6273E7
Accessibility & contrast
On white
10.02
#1B2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#1B2EB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2EB4
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2EB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2EB4 | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1b2eb4; /* rgb */ color: rgb(27, 46, 180); /* oklch */ color: oklch(39.8% 0.208 267.5);
Tailwind
colors: {
custom: {
50: '#7768cc',
500: '#1b2eb4',
950: '#000000',
},
}SCSS
$custom: #1b2eb4; $custom-light: #7768cc; $custom-dark: #000000;
JSON
{
"hex": "#1b2eb4",
"rgb": {
"r": 27,
"g": 46,
"b": 180
},
"hsl": {
"h": 232.549,
"s": 73.913,
"l": 40.588
},
"oklch": {
"l": 0.39779,
"c": 0.2077,
"h": 267.5
},
"luminance": 0.05482
}Semantic roles & 50–950 ramp
primary
#1B2EB4
secondary
#CCBE5F
accent
#DA37F1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82