#1F3192#1F3192
#1F3192 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.160 H 268.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3192 |
|---|---|
| RGB | rgb(31, 49, 146) |
| HSL | hsl(231, 65%, 35%) |
| HSV | hsv(231, 79%, 57%) |
| CMYK | cmyk(78.8%, 66.4%, 0%, 42.7%) |
| CIE-LAB | lab(25.45, 29.41, -55.27) |
| CIE-LCH | lch(25.45, 62.61, 298.02°) |
| OKLab | oklab(36.9% -0.0037 -0.1599) |
| OKLCH | oklch(36.9% 0.16 268.7) |
| XYZ | xyz(6.8499, 4.5625, 27.7082) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.89
Blueberry
#464196
ΔE00 6.32
Royal
#0C1793
ΔE00 6.68
Darkslateblue
#483D8B
ΔE00 6.69
Midnight Blue
#191970
ΔE00 7.75
Cobalt
#0047AB
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3192 #92801F
analogous
#1F6A92 #1F3192 #471F92
triadic
#1F3192 #921F31 #31921F
tetradic
#1F3192 #921F6A #92801F #1F9247
square
#1F3192 #921F6A #92801F #1F9247
split-complementary
#1F3192 #92471F #6A921F
monochromatic
#0A0F2D #142060 #1F3192 #2A42C4 #5167DA
Accessibility & contrast
On white
10.98
#1F3192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#1F3192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3192
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3192 | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f3192; /* rgb */ color: rgb(31, 49, 146); /* oklch */ color: oklch(36.9% 0.160 268.7);
Tailwind
colors: {
custom: {
50: '#6f69b3',
500: '#1f3192',
950: '#000000',
},
}SCSS
$custom: #1f3192; $custom-light: #6f69b3; $custom-dark: #000000;
JSON
{
"hex": "#1f3192",
"rgb": {
"r": 31,
"g": 49,
"b": 146
},
"hsl": {
"h": 230.609,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.36895,
"c": 0.15998,
"h": 268.7
},
"luminance": 0.04563
}Semantic roles & 50–950 ramp
primary
#1F3192
secondary
#BDAC50
accent
#CE40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80