#1F2BA8#1F2BA8
#1F2BA8 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.195 H 269.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2BA8 |
|---|---|
| RGB | rgb(31, 43, 168) |
| HSL | hsl(235, 69%, 39%) |
| HSV | hsv(235, 82%, 66%) |
| CMYK | cmyk(81.5%, 74.4%, 0%, 34.1%) |
| CIE-LAB | lab(26.29, 41.27, -67.31) |
| CIE-LCH | lch(26.29, 78.95, 301.51°) |
| OKLab | oklab(38.17% -0.0031 -0.195) |
| OKLCH | oklch(38.17% 0.195 269.1) |
| XYZ | xyz(8.4944, 4.8452, 37.5257) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.59
Indigo Blue
#3A18B1
ΔE00 4.89
Royal
#0C1793
ΔE00 5.38
Cobalt Blue
#030AA7
ΔE00 6.00
True Blue
#010FCC
ΔE00 6.01
Royal Blue (survey)
#0504AA
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2BA8 #A89C1F
analogous
#1F6FA8 #1F2BA8 #581FA8
triadic
#1F2BA8 #A81F2B #2BA81F
tetradic
#1F2BA8 #A81F6F #A89C1F #1FA858
square
#1F2BA8 #A81F6F #A89C1F #1FA858
split-complementary
#1F2BA8 #A8581F #6FA81F
monochromatic
#0C1141 #151E74 #1F2BA8 #2C3BD8 #606BE2
Accessibility & contrast
On white
10.66
#1F2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#1F2BA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2BA8
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2BA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2BA8 | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f2ba8; /* rgb */ color: rgb(31, 43, 168); /* oklch */ color: oklch(38.2% 0.195 269.1);
Tailwind
colors: {
custom: {
50: '#7565c3',
500: '#1f2ba8',
950: '#000000',
},
}SCSS
$custom: #1f2ba8; $custom-light: #7565c3; $custom-dark: #000000;
JSON
{
"hex": "#1f2ba8",
"rgb": {
"r": 31,
"g": 43,
"b": 168
},
"hsl": {
"h": 234.745,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.38173,
"c": 0.19506,
"h": 269.1
},
"luminance": 0.04846
}Semantic roles & 50–950 ramp
primary
#1F2BA8
secondary
#C6BD5D
accent
#DC3CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82