#1B256A#1B256A
#1B256A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.120 H 271.0°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1B256A |
|---|---|
| RGB | rgb(27, 37, 106) |
| HSL | hsl(232, 59%, 26%) |
| HSV | hsv(232, 75%, 42%) |
| CMYK | cmyk(74.5%, 65.1%, 0%, 58.4%) |
| CIE-LAB | lab(18.35, 21.62, -41.57) |
| CIE-LCH | lch(18.35, 46.86, 297.47°) |
| OKLab | oklab(30.46% 0.0021 -0.12) |
| OKLCH | oklch(30.46% 0.12 271) |
| XYZ | xyz(3.7142, 2.5964, 13.9383) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.27
Marine
#042E60
ΔE00 6.21
Navy Blue (survey)
#001146
ΔE00 7.37
Navy Blue
#1B2A4A
ΔE00 7.66
Darkblue (survey)
#030764
ΔE00 7.90
Royal
#0C1793
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B256A #6A601B
analogous
#1B4C6A #1B256A #381B6A
triadic
#1B256A #6A1B25 #256A1B
tetradic
#1B256A #6A1B4C #6A601B #1B6A38
square
#1B256A #6A1B4C #6A601B #1B6A38
split-complementary
#1B256A #6A381B #4C6A1B
monochromatic
#060918 #0F1439 #1B256A #27369B #3447CB
Accessibility & contrast
On white
13.82
#1B256A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1B256A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B256A
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B256A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B256A | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1b256a; /* rgb */ color: rgb(27, 37, 106); /* oklch */ color: oklch(30.5% 0.120 271.0);
Tailwind
colors: {
custom: {
50: '#645f95',
500: '#1b256a',
950: '#000000',
},
}SCSS
$custom: #1b256a; $custom-light: #645f95; $custom-dark: #000000;
JSON
{
"hex": "#1b256a",
"rgb": {
"r": 27,
"g": 37,
"b": 106
},
"hsl": {
"h": 232.405,
"s": 59.398,
"l": 26.078
},
"oklch": {
"l": 0.30464,
"c": 0.12002,
"h": 271
},
"luminance": 0.02597
}Semantic roles & 50–950 ramp
primary
#1B256A
secondary
#9F9342
accent
#CF45E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E