#1F2C92#1F2C92
#1F2C92 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.166 H 269.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C92 |
|---|---|
| RGB | rgb(31, 44, 146) |
| HSL | hsl(233, 65%, 35%) |
| HSV | hsv(233, 79%, 57%) |
| CMYK | cmyk(78.8%, 69.9%, 0%, 42.7%) |
| CIE-LAB | lab(24.22, 32.70, -57.30) |
| CIE-LCH | lch(24.22, 65.98, 299.72°) |
| OKLab | oklab(35.99% -0.0009 -0.1659) |
| OKLCH | oklch(35.99% 0.166 269.7) |
| XYZ | xyz(6.6523, 4.1673, 27.6423) |
| Luminance | 0.0417 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.61
Royal
#0C1793
ΔE00 5.16
Midnight Blue
#191970
ΔE00 6.67
Blueberry
#464196
ΔE00 7.15
Indigo Blue
#3A18B1
ΔE00 7.20
Darkslateblue
#483D8B
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C92 #92851F
analogous
#1F6692 #1F2C92 #4B1F92
triadic
#1F2C92 #921F2C #2C921F
tetradic
#1F2C92 #921F66 #92851F #1F924B
square
#1F2C92 #921F66 #92851F #1F924B
split-complementary
#1F2C92 #924B1F #66921F
monochromatic
#0A0E2D #141D60 #1F2C92 #2A3BC4 #5161DA
Accessibility & contrast
On white
11.45
#1F2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1F2C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C92
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C92 | 1.00 | 11.45 | 1.83 | 11.45 |
| #FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f2c92; /* rgb */ color: rgb(31, 44, 146); /* oklch */ color: oklch(36.0% 0.166 269.7);
Tailwind
colors: {
custom: {
50: '#6f65b3',
500: '#1f2c92',
950: '#000000',
},
}SCSS
$custom: #1f2c92; $custom-light: #6f65b3; $custom-dark: #000000;
JSON
{
"hex": "#1f2c92",
"rgb": {
"r": 31,
"g": 44,
"b": 146
},
"hsl": {
"h": 233.217,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.35995,
"c": 0.16588,
"h": 269.7
},
"luminance": 0.04168
}Semantic roles & 50–950 ramp
primary
#1F2C92
secondary
#BDB150
accent
#D540E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80