#1F2BA1#1F2BA1
#1F2BA1 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.186 H 269.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2BA1 |
|---|---|
| RGB | rgb(31, 43, 161) |
| HSL | hsl(234, 68%, 38%) |
| HSV | hsv(234, 81%, 63%) |
| CMYK | cmyk(80.7%, 73.3%, 0%, 36.9%) |
| CIE-LAB | lab(25.54, 38.79, -64.31) |
| CIE-LCH | lch(25.54, 75.11, 301.10°) |
| OKLab | oklab(37.41% -0.0022 -0.1863) |
| OKLCH | oklch(37.41% 0.186 269.3) |
| XYZ | xyz(7.8598, 4.5914, 34.1833) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.76
Royal
#0C1793
ΔE00 4.98
Indigo Blue
#3A18B1
ΔE00 5.41
Cobalt Blue
#030AA7
ΔE00 6.12
Royal Blue (survey)
#0504AA
ΔE00 6.64
True Blue
#010FCC
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2BA1 #A1951F
analogous
#1F6CA1 #1F2BA1 #541FA1
triadic
#1F2BA1 #A11F2B #2BA11F
tetradic
#1F2BA1 #A11F6C #A1951F #1FA154
square
#1F2BA1 #A11F6C #A1951F #1FA154
split-complementary
#1F2BA1 #A1541F #6CA11F
monochromatic
#0B103A #151D6E #1F2BA1 #2939D4 #5B67DF
Accessibility & contrast
On white
10.95
#1F2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#1F2BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2BA1
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2BA1 | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f2ba1; /* rgb */ color: rgb(31, 43, 161); /* oklch */ color: oklch(37.4% 0.186 269.3);
Tailwind
colors: {
custom: {
50: '#7365be',
500: '#1f2ba1',
950: '#000000',
},
}SCSS
$custom: #1f2ba1; $custom-light: #7365be; $custom-dark: #000000;
JSON
{
"hex": "#1f2ba1",
"rgb": {
"r": 31,
"g": 43,
"b": 161
},
"hsl": {
"h": 234.462,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.37412,
"c": 0.18632,
"h": 269.3
},
"luminance": 0.04592
}Semantic roles & 50–950 ramp
primary
#1F2BA1
secondary
#C4BA58
accent
#DB3DEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81