#1F2D93#1F2D93
#1F2D93 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.166 H 269.5°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D93 |
|---|---|
| RGB | rgb(31, 45, 147) |
| HSL | hsl(233, 65%, 35%) |
| HSV | hsv(233, 79%, 58%) |
| CMYK | cmyk(78.9%, 69.4%, 0%, 42.4%) |
| CIE-LAB | lab(24.56, 32.43, -57.36) |
| CIE-LCH | lch(24.56, 65.89, 299.48°) |
| OKLab | oklab(36.27% -0.0016 -0.166) |
| OKLCH | oklch(36.27% 0.166 269.5) |
| XYZ | xyz(6.7681, 4.2739, 28.0664) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.33
Royal
#0C1793
ΔE00 5.42
Midnight Blue
#191970
ΔE00 6.96
Blueberry
#464196
ΔE00 6.96
Darkslateblue
#483D8B
ΔE00 7.14
Indigo Blue
#3A18B1
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D93 #93851F
analogous
#1F6793 #1F2D93 #4B1F93
triadic
#1F2D93 #931F2D #2D931F
tetradic
#1F2D93 #931F67 #93851F #1F934B
square
#1F2D93 #931F67 #93851F #1F934B
split-complementary
#1F2D93 #934B1F #67931F
monochromatic
#0A0E2E #141E60 #1F2D93 #2A3CC6 #5262DA
Accessibility & contrast
On white
11.32
#1F2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1F2D93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D93
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D93 | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f2d93; /* rgb */ color: rgb(31, 45, 147); /* oklch */ color: oklch(36.3% 0.166 269.5);
Tailwind
colors: {
custom: {
50: '#6f66b4',
500: '#1f2d93',
950: '#000000',
},
}SCSS
$custom: #1f2d93; $custom-light: #6f66b4; $custom-dark: #000000;
JSON
{
"hex": "#1f2d93",
"rgb": {
"r": 31,
"g": 45,
"b": 147
},
"hsl": {
"h": 232.759,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.36273,
"c": 0.16606,
"h": 269.5
},
"luminance": 0.04275
}Semantic roles & 50–950 ramp
primary
#1F2D93
secondary
#BEB050
accent
#D440E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80