#1F2392#1F2392
#1F2392 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.176 H 271.1°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2392 |
|---|---|
| RGB | rgb(31, 35, 146) |
| HSL | hsl(238, 65%, 35%) |
| HSV | hsv(238, 79%, 57%) |
| CMYK | cmyk(78.8%, 76%, 0%, 42.7%) |
| CIE-LAB | lab(22.19, 38.31, -60.64) |
| CIE-LCH | lch(22.19, 71.73, 302.28°) |
| OKLab | oklab(34.54% 0.0033 -0.1756) |
| OKLCH | oklch(34.54% 0.176 271.1) |
| XYZ | xyz(6.3527, 3.5680, 27.5424) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.77
Cobalt Blue
#030AA7
ΔE00 5.08
Midnight Blue
#191970
ΔE00 5.48
Royal Blue (survey)
#0504AA
ΔE00 5.68
Indigo Blue
#3A18B1
ΔE00 5.76
Ultramarine
#2000B1
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2392 #928E1F
analogous
#1F5D92 #1F2392 #551F92
triadic
#1F2392 #921F23 #23921F
tetradic
#1F2392 #921F5D #928E1F #1F9255
square
#1F2392 #921F5D #928E1F #1F9255
split-complementary
#1F2392 #92551F #5D921F
monochromatic
#0A0B2D #141760 #1F2392 #2A2FC4 #5156DA
Accessibility & contrast
On white
12.25
#1F2392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1F2392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2392
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2392 | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1f2392; /* rgb */ color: rgb(31, 35, 146); /* oklch */ color: oklch(34.5% 0.176 271.1);
Tailwind
colors: {
custom: {
50: '#705fb3',
500: '#1f2392',
950: '#000000',
},
}SCSS
$custom: #1f2392; $custom-light: #705fb3; $custom-dark: #000000;
JSON
{
"hex": "#1f2392",
"rgb": {
"r": 31,
"g": 35,
"b": 146
},
"hsl": {
"h": 237.913,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.34539,
"c": 0.17563,
"h": 271.1
},
"luminance": 0.03569
}Semantic roles & 50–950 ramp
primary
#1F2392
secondary
#BDB950
accent
#E240E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980