#1B2F9F#1B2F9F
#1B2F9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.180 H 267.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F9F |
|---|---|
| RGB | rgb(27, 47, 159) |
| HSL | hsl(231, 71%, 36%) |
| HSV | hsv(231, 83%, 62%) |
| CMYK | cmyk(83%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(26.06, 35.26, -62.23) |
| CIE-LCH | lch(26.06, 71.53, 299.54°) |
| OKLab | oklab(37.68% -0.0073 -0.1803) |
| OKLCH | oklch(37.68% 0.18 267.7) |
| XYZ | xyz(7.7243, 4.7683, 33.3074) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.89
Royal
#0C1793
ΔE00 5.96
Indigo Blue
#3A18B1
ΔE00 6.69
Blueberry
#464196
ΔE00 6.92
Cobalt Blue
#030AA7
ΔE00 7.34
Blue Blue
#2242C7
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F9F #9F8B1B
analogous
#1B719F #1B2F9F #491B9F
triadic
#1B2F9F #9F1B2F #2F9F1B
tetradic
#1B2F9F #9F1B71 #9F8B1B #1B9F49
square
#1B2F9F #9F1B71 #9F8B1B #1B9F49
split-complementary
#1B2F9F #9F491B #719F1B
monochromatic
#091036 #12206B #1B2F9F #243ED3 #5368E2
Accessibility & contrast
On white
10.75
#1B2F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1B2F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F9F
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F9F | 1.00 | 10.75 | 1.95 | 10.75 |
| #FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1b2f9f; /* rgb */ color: rgb(27, 47, 159); /* oklch */ color: oklch(37.7% 0.180 267.7);
Tailwind
colors: {
custom: {
50: '#7168bc',
500: '#1b2f9f',
950: '#000000',
},
}SCSS
$custom: #1b2f9f; $custom-light: #7168bc; $custom-dark: #000000;
JSON
{
"hex": "#1b2f9f",
"rgb": {
"r": 27,
"g": 47,
"b": 159
},
"hsl": {
"h": 230.909,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.37681,
"c": 0.18049,
"h": 267.7
},
"luminance": 0.04769
}Semantic roles & 50–950 ramp
primary
#1B2F9F
secondary
#C5B351
accent
#D33AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81