#1F2BA6#1F2BA6
#1F2BA6 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.193 H 269.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2BA6 |
|---|---|
| RGB | rgb(31, 43, 166) |
| HSL | hsl(235, 69%, 39%) |
| HSV | hsv(235, 81%, 65%) |
| CMYK | cmyk(81.3%, 74.1%, 0%, 34.9%) |
| CIE-LAB | lab(26.07, 40.56, -66.46) |
| CIE-LCH | lch(26.07, 77.86, 301.40°) |
| OKLab | oklab(37.95% -0.0029 -0.1926) |
| OKLCH | oklch(37.95% 0.193 269.1) |
| XYZ | xyz(8.3095, 4.7713, 36.5520) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.61
Indigo Blue
#3A18B1
ΔE00 5.03
Royal
#0C1793
ΔE00 5.25
Cobalt Blue
#030AA7
ΔE00 6.02
True Blue
#010FCC
ΔE00 6.22
Royal Blue (survey)
#0504AA
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2BA6 #A69A1F
analogous
#1F6EA6 #1F2BA6 #561FA6
triadic
#1F2BA6 #A61F2B #2BA61F
tetradic
#1F2BA6 #A61F6E #A69A1F #1FA656
square
#1F2BA6 #A61F6E #A69A1F #1FA656
split-complementary
#1F2BA6 #A6561F #6EA61F
monochromatic
#0C103F #151E72 #1F2BA6 #2B3AD7 #5E6AE1
Accessibility & contrast
On white
10.74
#1F2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1F2BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2BA6
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2BA6 | 1.00 | 10.74 | 1.95 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f2ba6; /* rgb */ color: rgb(31, 43, 166); /* oklch */ color: oklch(38.0% 0.193 269.1);
Tailwind
colors: {
custom: {
50: '#7465c2',
500: '#1f2ba6',
950: '#000000',
},
}SCSS
$custom: #1f2ba6; $custom-light: #7465c2; $custom-dark: #000000;
JSON
{
"hex": "#1f2ba6",
"rgb": {
"r": 31,
"g": 43,
"b": 166
},
"hsl": {
"h": 234.667,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.37954,
"c": 0.19258,
"h": 269.1
},
"luminance": 0.04772
}Semantic roles & 50–950 ramp
primary
#1F2BA6
secondary
#C5BC5B
accent
#DC3CEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82