#1F2D95#1F2D95
#1F2D95 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.169 H 269.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D95 |
|---|---|
| RGB | rgb(31, 45, 149) |
| HSL | hsl(233, 66%, 35%) |
| HSV | hsv(233, 79%, 58%) |
| CMYK | cmyk(79.2%, 69.8%, 0%, 41.6%) |
| CIE-LAB | lab(24.76, 33.17, -58.26) |
| CIE-LCH | lch(24.76, 67.04, 299.66°) |
| OKLab | oklab(36.48% -0.0017 -0.1687) |
| OKLCH | oklch(36.48% 0.169 269.4) |
| XYZ | xyz(6.9264, 4.3372, 28.9001) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.14
Royal
#0C1793
ΔE00 5.37
Blueberry
#464196
ΔE00 6.96
Indigo Blue
#3A18B1
ΔE00 7.05
Midnight Blue
#191970
ΔE00 7.14
Darkslateblue
#483D8B
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D95 #95871F
analogous
#1F6895 #1F2D95 #4C1F95
triadic
#1F2D95 #951F2D #2D951F
tetradic
#1F2D95 #951F68 #95871F #1F954C
square
#1F2D95 #951F68 #95871F #1F954C
split-complementary
#1F2D95 #954C1F #68951F
monochromatic
#0A0E30 #141E62 #1F2D95 #2A3CC8 #5363DB
Accessibility & contrast
On white
11.24
#1F2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1F2D95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D95
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D95 | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f2d95; /* rgb */ color: rgb(31, 45, 149); /* oklch */ color: oklch(36.5% 0.169 269.4);
Tailwind
colors: {
custom: {
50: '#7066b5',
500: '#1f2d95',
950: '#000000',
},
}SCSS
$custom: #1f2d95; $custom-light: #7066b5; $custom-dark: #000000;
JSON
{
"hex": "#1f2d95",
"rgb": {
"r": 31,
"g": 45,
"b": 149
},
"hsl": {
"h": 232.881,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.36478,
"c": 0.1687,
"h": 269.4
},
"luminance": 0.04338
}Semantic roles & 50–950 ramp
primary
#1F2D95
secondary
#BFB251
accent
#D43FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80