#1B295F#1B295F
#1B295F is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.098 H 268.9°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1B295F |
|---|---|
| RGB | rgb(27, 41, 95) |
| HSL | hsl(228, 56%, 24%) |
| HSV | hsv(228, 72%, 37%) |
| CMYK | cmyk(71.6%, 56.8%, 0%, 62.7%) |
| CIE-LAB | lab(18.56, 14.31, -34.01) |
| CIE-LCH | lch(18.56, 36.90, 292.81°) |
| OKLab | oklab(30.33% -0.0018 -0.0977) |
| OKLCH | oklch(30.33% 0.098 268.9) |
| XYZ | xyz(3.3098, 2.6448, 11.1603) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.29
Navy Blue
#1B2A4A
ΔE00 5.09
Navy (survey)
#01153E
ΔE00 7.14
Midnight Blue
#191970
ΔE00 7.21
Navy Blue (survey)
#001146
ΔE00 7.38
Marine Blue
#01386A
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B295F #5F511B
analogous
#1B4B5F #1B295F #2F1B5F
triadic
#1B295F #5F1B29 #295F1B
tetradic
#1B295F #5F1B4B #5F511B #1B5F2F
square
#1B295F #5F1B4B #5F511B #1B5F2F
split-complementary
#1B295F #5F2F1B #4B5F1B
monochromatic
#070A18 #0D142F #1B295F #293E8F #3652BE
Accessibility & contrast
On white
13.73
#1B295F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1B295F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B295F
13.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B295F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B295F | 1.00 | 13.73 | 1.53 | 13.73 |
| #FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#053061
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1b295f; /* rgb */ color: rgb(27, 41, 95); /* oklch */ color: oklch(30.3% 0.098 268.9);
Tailwind
colors: {
custom: {
50: '#61628d',
500: '#1b295f',
950: '#000000',
},
}SCSS
$custom: #1b295f; $custom-light: #61628d; $custom-dark: #000000;
JSON
{
"hex": "#1b295f",
"rgb": {
"r": 27,
"g": 41,
"b": 95
},
"hsl": {
"h": 227.647,
"s": 55.738,
"l": 23.922
},
"oklch": {
"l": 0.30327,
"c": 0.09774,
"h": 268.9
},
"luminance": 0.02645
}Semantic roles & 50–950 ramp
primary
#1B295F
secondary
#958341
accent
#C049DF
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D