#1B268E#1B268E
#1B268E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.168 H 269.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1B268E |
|---|---|
| RGB | rgb(27, 38, 142) |
| HSL | hsl(234, 68%, 33%) |
| HSV | hsv(234, 81%, 56%) |
| CMYK | cmyk(81%, 73.2%, 0%, 44.3%) |
| CIE-LAB | lab(22.20, 34.71, -58.15) |
| CIE-LCH | lch(22.20, 67.72, 300.84°) |
| OKLab | oklab(34.36% -0.0016 -0.1684) |
| OKLCH | oklch(34.36% 0.168 269.4) |
| XYZ | xyz(6.0259, 3.5715, 25.9577) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.68
Midnight Blue
#191970
ΔE00 5.29
Sapphire (survey)
#2138AB
ΔE00 6.09
Cobalt Blue
#030AA7
ΔE00 6.18
Royal Blue (survey)
#0504AA
ΔE00 6.79
Indigo Blue
#3A18B1
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B268E #8E831B
analogous
#1B5F8E #1B268E #491B8E
triadic
#1B268E #8E1B26 #268E1B
tetradic
#1B268E #8E1B5F #8E831B #1B8E49
square
#1B268E #8E1B5F #8E831B #1B8E49
split-complementary
#1B268E #8E491B #5F8E1B
monochromatic
#070A27 #11185B #1B268E #2534C1 #4756DC
Accessibility & contrast
On white
12.25
#1B268E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1B268E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B268E
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B268E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B268E | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1b268e; /* rgb */ color: rgb(27, 38, 142); /* oklch */ color: oklch(34.4% 0.168 269.4);
Tailwind
colors: {
custom: {
50: '#6d61b0',
500: '#1b268e',
950: '#000000',
},
}SCSS
$custom: #1b268e; $custom-light: #6d61b0; $custom-dark: #000000;
JSON
{
"hex": "#1b268e",
"rgb": {
"r": 27,
"g": 38,
"b": 142
},
"hsl": {
"h": 234.261,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.34362,
"c": 0.16844,
"h": 269.4
},
"luminance": 0.03572
}Semantic roles & 50–950 ramp
primary
#1B268E
secondary
#BEB247
accent
#DA3DEB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980