#1B3297#1B3297
#1B3297 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.167 H 267.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3297 |
|---|---|
| RGB | rgb(27, 50, 151) |
| HSL | hsl(229, 70%, 35%) |
| HSV | hsv(229, 82%, 59%) |
| CMYK | cmyk(82.1%, 66.9%, 0%, 40.8%) |
| CIE-LAB | lab(26.00, 30.28, -57.45) |
| CIE-LCH | lch(26.00, 64.94, 297.79°) |
| OKLab | oklab(37.4% -0.0081 -0.1664) |
| OKLCH | oklch(37.4% 0.167 267.2) |
| XYZ | xyz(7.1766, 4.7477, 29.8103) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.20
Blueberry
#464196
ΔE00 6.40
Royal
#0C1793
ΔE00 6.90
Darkslateblue
#483D8B
ΔE00 7.03
Cobalt
#0047AB
ΔE00 7.36
Blue Blue
#2242C7
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3297 #97801B
analogous
#1B7097 #1B3297 #421B97
triadic
#1B3297 #971B32 #32971B
tetradic
#1B3297 #971B70 #97801B #1B9742
square
#1B3297 #971B70 #97801B #1B9742
split-complementary
#1B3297 #97421B #70971B
monochromatic
#08102F #122163 #1B3297 #2443CB #4D68DF
Accessibility & contrast
On white
10.77
#1B3297 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1B3297 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3297
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3297 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3297 | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1b3297; /* rgb */ color: rgb(27, 50, 151); /* oklch */ color: oklch(37.4% 0.167 267.2);
Tailwind
colors: {
custom: {
50: '#6f69b7',
500: '#1b3297',
950: '#000000',
},
}SCSS
$custom: #1b3297; $custom-light: #6f69b7; $custom-dark: #000000;
JSON
{
"hex": "#1b3297",
"rgb": {
"r": 27,
"g": 50,
"b": 151
},
"hsl": {
"h": 228.871,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.37398,
"c": 0.16656,
"h": 267.2
},
"luminance": 0.04749
}Semantic roles & 50–950 ramp
primary
#1B3297
secondary
#C1AC4C
accent
#CC3BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80