#1B245F#1B245F
#1B245F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.105 H 271.7°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1B245F |
|---|---|
| RGB | rgb(27, 36, 95) |
| HSL | hsl(232, 56%, 24%) |
| HSV | hsv(232, 72%, 37%) |
| CMYK | cmyk(71.6%, 62.1%, 0%, 62.7%) |
| CIE-LAB | lab(17.09, 17.95, -36.40) |
| CIE-LCH | lch(17.09, 40.58, 296.25°) |
| OKLab | oklab(29.22% 0.0031 -0.1048) |
| OKLCH | oklch(29.22% 0.105 271.7) |
| XYZ | xyz(3.1477, 2.3207, 11.1063) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.59
Marine
#042E60
ΔE00 5.89
Navy Blue (survey)
#001146
ΔE00 6.13
Navy Blue
#1B2A4A
ΔE00 6.28
Navy (survey)
#01153E
ΔE00 6.68
Dark Indigo
#1F0954
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B245F #5F561B
analogous
#1B465F #1B245F #341B5F
triadic
#1B245F #5F1B24 #245F1B
tetradic
#1B245F #5F1B46 #5F561B #1B5F34
square
#1B245F #5F1B46 #5F561B #1B5F34
split-complementary
#1B245F #5F341B #465F1B
monochromatic
#070918 #0D122F #1B245F #29368F #3648BE
Accessibility & contrast
On white
14.34
#1B245F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1B245F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B245F
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B245F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B245F | 1.00 | 14.34 | 1.46 | 14.34 |
| #FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1b245f; /* rgb */ color: rgb(27, 36, 95); /* oklch */ color: oklch(29.2% 0.105 271.7);
Tailwind
colors: {
custom: {
50: '#615e8d',
500: '#1b245f',
950: '#000000',
},
}SCSS
$custom: #1b245f; $custom-light: #615e8d; $custom-dark: #000000;
JSON
{
"hex": "#1b245f",
"rgb": {
"r": 27,
"g": 36,
"b": 95
},
"hsl": {
"h": 232.059,
"s": 55.738,
"l": 23.922
},
"oklch": {
"l": 0.29223,
"c": 0.10487,
"h": 271.7
},
"luminance": 0.02321
}Semantic roles & 50–950 ramp
primary
#1B245F
secondary
#958A41
accent
#CB49DF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D