#1F2BA5#1F2BA5
#1F2BA5 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.191 H 269.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2BA5 |
|---|---|
| RGB | rgb(31, 43, 165) |
| HSL | hsl(235, 68%, 38%) |
| HSV | hsv(235, 81%, 65%) |
| CMYK | cmyk(81.2%, 73.9%, 0%, 35.3%) |
| CIE-LAB | lab(25.97, 40.21, -66.03) |
| CIE-LCH | lch(25.97, 77.31, 301.34°) |
| OKLab | oklab(37.85% -0.0027 -0.1913) |
| OKLCH | oklch(37.85% 0.191 269.2) |
| XYZ | xyz(8.2182, 4.7347, 36.0708) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.63
Indigo Blue
#3A18B1
ΔE00 5.10
Royal
#0C1793
ΔE00 5.19
Cobalt Blue
#030AA7
ΔE00 6.03
True Blue
#010FCC
ΔE00 6.33
Royal Blue (survey)
#0504AA
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2BA5 #A5991F
analogous
#1F6EA5 #1F2BA5 #561FA5
triadic
#1F2BA5 #A51F2B #2BA51F
tetradic
#1F2BA5 #A51F6E #A5991F #1FA556
square
#1F2BA5 #A51F6E #A5991F #1FA556
split-complementary
#1F2BA5 #A5561F #6EA51F
monochromatic
#0C103E #151E71 #1F2BA5 #2A3AD7 #5E69E1
Accessibility & contrast
On white
10.78
#1F2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1F2BA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2BA5
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2BA5 | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0037A3
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f2ba5; /* rgb */ color: rgb(31, 43, 165); /* oklch */ color: oklch(37.8% 0.191 269.2);
Tailwind
colors: {
custom: {
50: '#7465c1',
500: '#1f2ba5',
950: '#000000',
},
}SCSS
$custom: #1f2ba5; $custom-light: #7465c1; $custom-dark: #000000;
JSON
{
"hex": "#1f2ba5",
"rgb": {
"r": 31,
"g": 43,
"b": 165
},
"hsl": {
"h": 234.627,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.37845,
"c": 0.19133,
"h": 269.2
},
"luminance": 0.04736
}Semantic roles & 50–950 ramp
primary
#1F2BA5
secondary
#C5BC5B
accent
#DC3DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81