#1B2F6E#1B2F6E
#1B2F6E is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.112 H 266.8°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F6E |
|---|---|
| RGB | rgb(27, 47, 110) |
| HSL | hsl(226, 61%, 27%) |
| HSV | hsv(226, 75%, 43%) |
| CMYK | cmyk(75.5%, 57.3%, 0%, 56.9%) |
| CIE-LAB | lab(21.55, 16.07, -38.96) |
| CIE-LCH | lch(21.55, 42.15, 292.41°) |
| OKLab | oklab(32.96% -0.0063 -0.1122) |
| OKLCH | oklch(32.96% 0.112 266.8) |
| XYZ | xyz(4.2820, 3.3914, 15.1778) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.86
Marine Blue
#01386A
ΔE00 5.80
Navy Blue
#1B2A4A
ΔE00 6.83
Midnight Blue
#191970
ΔE00 7.48
Darkish Blue
#014182
ΔE00 7.49
Twilight Blue
#0A437A
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F6E #6E5A1B
analogous
#1B596E #1B2F6E #311B6E
triadic
#1B2F6E #6E1B2F #2F6E1B
tetradic
#1B2F6E #6E1B59 #6E5A1B #1B6E31
square
#1B2F6E #6E1B59 #6E5A1B #1B6E31
split-complementary
#1B2F6E #6E311B #596E1B
monochromatic
#060A19 #0F1A3D #1B2F6E #27449F #365ACE
Accessibility & contrast
On white
12.51
#1B2F6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1B2F6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F6E
12.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F6E | 1.00 | 12.51 | 1.68 | 12.51 |
| #FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1b2f6e; /* rgb */ color: rgb(27, 47, 110); /* oklch */ color: oklch(33.0% 0.112 266.8);
Tailwind
colors: {
custom: {
50: '#646798',
500: '#1b2f6e',
950: '#000000',
},
}SCSS
$custom: #1b2f6e; $custom-light: #646798; $custom-dark: #000000;
JSON
{
"hex": "#1b2f6e",
"rgb": {
"r": 27,
"g": 47,
"b": 110
},
"hsl": {
"h": 225.542,
"s": 60.584,
"l": 26.863
},
"oklch": {
"l": 0.3296,
"c": 0.11237,
"h": 266.8
},
"luminance": 0.03392
}Semantic roles & 50–950 ramp
primary
#1B2F6E
secondary
#A38C42
accent
#BD44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E