#1F2D9E#1F2D9E
#1F2D9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.180 H 269.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D9E |
|---|---|
| RGB | rgb(31, 45, 158) |
| HSL | hsl(233, 67%, 37%) |
| HSV | hsv(233, 80%, 62%) |
| CMYK | cmyk(80.4%, 71.5%, 0%, 38%) |
| CIE-LAB | lab(25.67, 36.48, -62.27) |
| CIE-LCH | lch(25.67, 72.17, 300.36°) |
| OKLab | oklab(37.41% -0.0027 -0.1804) |
| OKLCH | oklch(37.41% 0.18 269.1) |
| XYZ | xyz(7.6729, 4.6358, 32.8315) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.42
Royal
#0C1793
ΔE00 5.38
Indigo Blue
#3A18B1
ΔE00 6.11
Cobalt Blue
#030AA7
ΔE00 6.77
Blueberry
#464196
ΔE00 7.07
Royal Blue (survey)
#0504AA
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D9E #9E901F
analogous
#1F6D9E #1F2D9E #511F9E
triadic
#1F2D9E #9E1F2D #2D9E1F
tetradic
#1F2D9E #9E1F6D #9E901F #1F9E51
square
#1F2D9E #9E1F6D #9E901F #1F9E51
split-complementary
#1F2D9E #9E511F #6D9E1F
monochromatic
#0B1038 #151E6B #1F2D9E #293CD1 #5968DE
Accessibility & contrast
On white
10.90
#1F2D9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#1F2D9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D9E
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D9E | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f2d9e; /* rgb */ color: rgb(31, 45, 158); /* oklch */ color: oklch(37.4% 0.180 269.1);
Tailwind
colors: {
custom: {
50: '#7266bc',
500: '#1f2d9e',
950: '#000000',
},
}SCSS
$custom: #1f2d9e; $custom-light: #7266bc; $custom-dark: #000000;
JSON
{
"hex": "#1f2d9e",
"rgb": {
"r": 31,
"g": 45,
"b": 158
},
"hsl": {
"h": 233.386,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.37414,
"c": 0.18038,
"h": 269.1
},
"luminance": 0.04637
}Semantic roles & 50–950 ramp
primary
#1F2D9E
secondary
#C2B656
accent
#D73EEA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81