#1F2CA8#1F2CA8
#1F2CA8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.194 H 269.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2CA8 |
|---|---|
| RGB | rgb(31, 44, 168) |
| HSL | hsl(234, 69%, 39%) |
| HSV | hsv(234, 82%, 66%) |
| CMYK | cmyk(81.5%, 73.8%, 0%, 34.1%) |
| CIE-LAB | lab(26.50, 40.67, -66.96) |
| CIE-LCH | lch(26.50, 78.34, 301.27°) |
| OKLab | oklab(38.32% -0.0035 -0.194) |
| OKLCH | oklch(38.32% 0.194 269) |
| XYZ | xyz(8.5312, 4.9188, 37.5380) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.33
Indigo Blue
#3A18B1
ΔE00 5.11
Royal
#0C1793
ΔE00 5.59
True Blue
#010FCC
ΔE00 6.19
Cobalt Blue
#030AA7
ΔE00 6.26
Royal Blue (survey)
#0504AA
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2CA8 #A89B1F
analogous
#1F71A8 #1F2CA8 #571FA8
triadic
#1F2CA8 #A81F2C #2CA81F
tetradic
#1F2CA8 #A81F71 #A89B1F #1FA857
square
#1F2CA8 #A81F71 #A89B1F #1FA857
split-complementary
#1F2CA8 #A8571F #71A81F
monochromatic
#0C1141 #151E74 #1F2CA8 #2C3CD8 #606CE2
Accessibility & contrast
On white
10.58
#1F2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#1F2CA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2CA8
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2CA8 | 1.00 | 10.58 | 1.98 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1f2ca8; /* rgb */ color: rgb(31, 44, 168); /* oklch */ color: oklch(38.3% 0.194 269.0);
Tailwind
colors: {
custom: {
50: '#7566c3',
500: '#1f2ca8',
950: '#000000',
},
}SCSS
$custom: #1f2ca8; $custom-light: #7566c3; $custom-dark: #000000;
JSON
{
"hex": "#1f2ca8",
"rgb": {
"r": 31,
"g": 44,
"b": 168
},
"hsl": {
"h": 234.307,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.38325,
"c": 0.19404,
"h": 269
},
"luminance": 0.0492
}Semantic roles & 50–950 ramp
primary
#1F2CA8
secondary
#C6BC5D
accent
#DB3CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82