#1B305F#1B305F
#1B305F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.088 H 264.0°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1B305F |
|---|---|
| RGB | rgb(27, 48, 95) |
| HSL | hsl(221, 56%, 24%) |
| HSV | hsv(221, 72%, 37%) |
| CMYK | cmyk(71.6%, 49.5%, 0%, 62.7%) |
| CIE-LAB | lab(20.72, 9.22, -30.53) |
| CIE-LCH | lch(20.72, 31.89, 286.80°) |
| OKLab | oklab(31.97% -0.0092 -0.0874) |
| OKLCH | oklch(31.97% 0.088 264) |
| XYZ | xyz(3.5738, 3.1728, 11.2483) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.60
Navy Blue
#1B2A4A
ΔE00 4.26
Marine Blue
#01386A
ΔE00 5.02
Darkish Blue
#014182
ΔE00 7.77
Twilight Blue
#0A437A
ΔE00 7.94
Navy (survey)
#01153E
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B305F #5F4A1B
analogous
#1B525F #1B305F #281B5F
triadic
#1B305F #5F1B30 #305F1B
tetradic
#1B305F #5F1B52 #5F4A1B #1B5F28
square
#1B305F #5F1B52 #5F4A1B #1B5F28
split-complementary
#1B305F #5F281B #525F1B
monochromatic
#070C18 #0D182F #1B305F #29488F #3660BE
Accessibility & contrast
On white
12.85
#1B305F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1B305F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B305F
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B305F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B305F | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#183561
Deuteranopia (green-blind)
#0B2F5E
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1b305f; /* rgb */ color: rgb(27, 48, 95); /* oklch */ color: oklch(32.0% 0.088 264.0);
Tailwind
colors: {
custom: {
50: '#60678d',
500: '#1b305f',
950: '#000000',
},
}SCSS
$custom: #1b305f; $custom-light: #60678d; $custom-dark: #000000;
JSON
{
"hex": "#1b305f",
"rgb": {
"r": 27,
"g": 48,
"b": 95
},
"hsl": {
"h": 221.471,
"s": 55.738,
"l": 23.922
},
"oklch": {
"l": 0.31972,
"c": 0.08784,
"h": 264
},
"luminance": 0.03173
}Semantic roles & 50–950 ramp
primary
#1B305F
secondary
#957B41
accent
#B149DF
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D