#1B3F7F#1B3F7F
#1B3F7F is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.116 H 260.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3F7F |
|---|---|
| RGB | rgb(27, 63, 127) |
| HSL | hsl(218, 65%, 30%) |
| HSV | hsv(218, 79%, 50%) |
| CMYK | cmyk(78.7%, 50.4%, 0%, 50.2%) |
| CIE-LAB | lab(27.63, 11.69, -39.93) |
| CIE-LCH | lch(27.63, 41.61, 286.32°) |
| OKLab | oklab(37.99% -0.0184 -0.1147) |
| OKLCH | oklch(37.99% 0.116 260.9) |
| XYZ | xyz(6.0589, 5.3196, 20.7820) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.40
Twilight Blue
#0A437A
ΔE00 3.26
Cobalt (survey)
#1E488F
ΔE00 3.35
Marine Blue
#01386A
ΔE00 4.10
Prussian Blue
#004577
ΔE00 4.93
Cobalt
#0047AB
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3F7F #7F5B1B
analogous
#1B717F #1B3F7F #291B7F
triadic
#1B3F7F #7F1B3F #3F7F1B
tetradic
#1B3F7F #7F1B71 #7F5B1B #1B7F29
square
#1B3F7F #7F1B71 #7F5B1B #1B7F29
split-complementary
#1B3F7F #7F291B #717F1B
monochromatic
#060D1A #10264D #1B3F7F #2658B1 #3E75D6
Accessibility & contrast
On white
10.17
#1B3F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#1B3F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3F7F
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3F7F | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4681
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1b3f7f; /* rgb */ color: rgb(27, 63, 127); /* oklch */ color: oklch(38.0% 0.116 260.9);
Tailwind
colors: {
custom: {
50: '#6773a5',
500: '#1b3f7f',
950: '#000000',
},
}SCSS
$custom: #1b3f7f; $custom-light: #6773a5; $custom-dark: #000000;
JSON
{
"hex": "#1b3f7f",
"rgb": {
"r": 27,
"g": 63,
"b": 127
},
"hsl": {
"h": 218.4,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.37992,
"c": 0.11621,
"h": 260.9
},
"luminance": 0.0532
}Semantic roles & 50–950 ramp
primary
#1B3F7F
secondary
#B38B43
accent
#AB40E8
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F