#1F2CA7#1F2CA7
#1F2CA7 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.193 H 269.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2CA7 |
|---|---|
| RGB | rgb(31, 44, 167) |
| HSL | hsl(234, 69%, 39%) |
| HSV | hsv(234, 81%, 65%) |
| CMYK | cmyk(81.4%, 73.7%, 0%, 34.5%) |
| CIE-LAB | lab(26.39, 40.32, -66.53) |
| CIE-LCH | lch(26.39, 77.79, 301.21°) |
| OKLab | oklab(38.22% -0.0034 -0.1928) |
| OKLCH | oklch(38.22% 0.193 269) |
| XYZ | xyz(8.4384, 4.8817, 37.0492) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.34
Indigo Blue
#3A18B1
ΔE00 5.17
Royal
#0C1793
ΔE00 5.53
Cobalt Blue
#030AA7
ΔE00 6.26
True Blue
#010FCC
ΔE00 6.29
Royal Blue (survey)
#0504AA
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2CA7 #A79A1F
analogous
#1F70A7 #1F2CA7 #561FA7
triadic
#1F2CA7 #A71F2C #2CA71F
tetradic
#1F2CA7 #A71F70 #A79A1F #1FA756
square
#1F2CA7 #A71F70 #A79A1F #1FA756
split-complementary
#1F2CA7 #A7561F #70A71F
monochromatic
#0C1140 #151E73 #1F2CA7 #2B3CD8 #5F6CE1
Accessibility & contrast
On white
10.62
#1F2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#1F2CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2CA7
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2CA7 | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f2ca7; /* rgb */ color: rgb(31, 44, 167); /* oklch */ color: oklch(38.2% 0.193 269.0);
Tailwind
colors: {
custom: {
50: '#7566c2',
500: '#1f2ca7',
950: '#000000',
},
}SCSS
$custom: #1f2ca7; $custom-light: #7566c2; $custom-dark: #000000;
JSON
{
"hex": "#1f2ca7",
"rgb": {
"r": 31,
"g": 44,
"b": 167
},
"hsl": {
"h": 234.265,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.38216,
"c": 0.1928,
"h": 269
},
"luminance": 0.04883
}Semantic roles & 50–950 ramp
primary
#1F2CA7
secondary
#C6BC5C
accent
#DB3CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82