#1B2279#1B2279
#1B2279 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.145 H 271.2°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2279 |
|---|---|
| RGB | rgb(27, 34, 121) |
| HSL | hsl(236, 64%, 29%) |
| HSV | hsv(236, 78%, 47%) |
| CMYK | cmyk(77.7%, 71.9%, 0%, 52.5%) |
| CIE-LAB | lab(19.04, 29.48, -50.12) |
| CIE-LCH | lch(19.04, 58.15, 300.47°) |
| OKLab | oklab(31.42% 0.003 -0.145) |
| OKLCH | oklch(31.42% 0.145 271.2) |
| XYZ | xyz(4.4740, 2.7571, 18.3818) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.61
Royal
#0C1793
ΔE00 5.05
Dark Royal Blue
#02066F
ΔE00 6.44
Darkblue (survey)
#030764
ΔE00 6.79
Deep Blue
#040273
ΔE00 7.00
Navy
#000080
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2279 #79721B
analogous
#1B5179 #1B2279 #431B79
triadic
#1B2279 #791B22 #22791B
tetradic
#1B2279 #791B51 #79721B #1B7943
square
#1B2279 #791B51 #79721B #1B7943
split-complementary
#1B2279 #79431B #51791B
monochromatic
#060719 #101447 #1B2279 #2630AB #3B46D3
Accessibility & contrast
On white
13.53
#1B2279 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1B2279 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2279
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2279 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2279 | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b2279; /* rgb */ color: rgb(27, 34, 121); /* oklch */ color: oklch(31.4% 0.145 271.2);
Tailwind
colors: {
custom: {
50: '#685da1',
500: '#1b2279',
950: '#000000',
},
}SCSS
$custom: #1b2279; $custom-light: #685da1; $custom-dark: #000000;
JSON
{
"hex": "#1b2279",
"rgb": {
"r": 27,
"g": 34,
"b": 121
},
"hsl": {
"h": 235.532,
"s": 63.514,
"l": 29.02
},
"oklch": {
"l": 0.31421,
"c": 0.14505,
"h": 271.2
},
"luminance": 0.02758
}Semantic roles & 50–950 ramp
primary
#1B2279
secondary
#ADA543
accent
#DA41E7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F