#1B129F#1B129F
#1B129F is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 33.9% C 0.206 H 270.0°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1B129F |
|---|---|
| RGB | rgb(27, 18, 159) |
| HSL | hsl(244, 80%, 35%) |
| HSV | hsv(244, 89%, 62%) |
| CMYK | cmyk(83%, 88.7%, 0%, 37.6%) |
| CIE-LAB | lab(20.70, 50.61, -71.11) |
| CIE-LCH | lch(20.70, 87.29, 305.44°) |
| OKLab | oklab(33.91% 0.0001 -0.2057) |
| OKLCH | oklch(33.91% 0.206 270) |
| XYZ | xyz(6.9242, 3.1680, 33.0407) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 1.46
Royal Blue (survey)
#0504AA
ΔE00 1.97
Royal
#0C1793
ΔE00 2.16
Ultramarine
#2000B1
ΔE00 2.76
Indigo Blue
#3A18B1
ΔE00 4.04
Darkblue
#00008B
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B129F #969F12
analogous
#124F9F #1B129F #62129F
triadic
#1B129F #9F1B12 #129F1B
tetradic
#1B129F #9F124F #969F12 #129F62
square
#1B129F #9F124F #969F12 #129F62
split-complementary
#1B129F #9F6212 #4F9F12
monochromatic
#080631 #120C68 #1B129F #2418D6 #4D42EA
Accessibility & contrast
On white
12.85
#1B129F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1B129F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B129F
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B129F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B129F | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0039A3
Deuteranopia (green-blind)
#002A9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1b129f; /* rgb */ color: rgb(27, 18, 159); /* oklch */ color: oklch(33.9% 0.206 270.0);
Tailwind
colors: {
custom: {
50: '#7457bd',
500: '#1b129f',
950: '#000000',
},
}SCSS
$custom: #1b129f; $custom-light: #7457bd; $custom-dark: #000000;
JSON
{
"hex": "#1b129f",
"rgb": {
"r": 27,
"g": 18,
"b": 159
},
"hsl": {
"h": 243.83,
"s": 79.661,
"l": 34.706
},
"oklch": {
"l": 0.33905,
"c": 0.20569,
"h": 270
},
"luminance": 0.03169
}Semantic roles & 50–950 ramp
primary
#1B129F
secondary
#C1CA43
accent
#F632EA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881