#1B3EB3#1B3EB3
#1B3EB3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.189 H 265.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3EB3 |
|---|---|
| RGB | rgb(27, 62, 179) |
| HSL | hsl(226, 74%, 40%) |
| HSV | hsv(226, 85%, 70%) |
| CMYK | cmyk(84.9%, 65.4%, 0%, 29.8%) |
| CIE-LAB | lab(31.65, 33.05, -65.07) |
| CIE-LCH | lch(31.65, 72.98, 296.93°) |
| OKLab | oklab(42.35% -0.0149 -0.1885) |
| OKLCH | oklch(42.35% 0.189 265.5) |
| XYZ | xyz(10.3084, 6.9317, 43.4337) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.09
Blue Blue
#2242C7
ΔE00 3.00
Cobalt
#0047AB
ΔE00 4.26
Blue (survey)
#0343DF
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 5.96
Blueberry
#464196
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3EB3 #B3901B
analogous
#1B8AB3 #1B3EB3 #441BB3
triadic
#1B3EB3 #B31B3E #3EB31B
tetradic
#1B3EB3 #B31B8A #B3901B #1BB344
square
#1B3EB3 #B31B8A #B3901B #1BB344
split-complementary
#1B3EB3 #B3441B #8AB31B
monochromatic
#0B1949 #132C7E #1B3EB3 #2C55DF #6180E7
Accessibility & contrast
On white
8.80
#1B3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#1B3EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3EB3
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3EB3 | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1b3eb3; /* rgb */ color: rgb(27, 62, 179); /* oklch */ color: oklch(42.4% 0.189 265.5);
Tailwind
colors: {
custom: {
50: '#7573cb',
500: '#1b3eb3',
950: '#000000',
},
}SCSS
$custom: #1b3eb3; $custom-light: #7573cb; $custom-dark: #000000;
JSON
{
"hex": "#1b3eb3",
"rgb": {
"r": 27,
"g": 62,
"b": 179
},
"hsl": {
"h": 226.184,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.42351,
"c": 0.18912,
"h": 265.5
},
"luminance": 0.06933
}Semantic roles & 50–950 ramp
primary
#1B3EB3
secondary
#CCB25E
accent
#C637F0
background
#F7F6FC
surface
#EEECF9
border
#C9C7D2
text
#0A0813
muted
#7C7B82