#1F2B95#1F2B95
#1F2B95 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.171 H 269.8°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B95 |
|---|---|
| RGB | rgb(31, 43, 149) |
| HSL | hsl(234, 66%, 35%) |
| HSV | hsv(234, 79%, 58%) |
| CMYK | cmyk(79.2%, 71.1%, 0%, 41.6%) |
| CIE-LAB | lab(24.28, 34.46, -59.04) |
| CIE-LCH | lch(24.28, 68.36, 300.27°) |
| OKLab | oklab(36.14% -0.0007 -0.171) |
| OKLCH | oklch(36.14% 0.171 269.8) |
| XYZ | xyz(6.8519, 4.1882, 28.8752) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.52
Royal
#0C1793
ΔE00 4.80
Indigo Blue
#3A18B1
ΔE00 6.64
Cobalt Blue
#030AA7
ΔE00 6.76
Midnight Blue
#191970
ΔE00 6.80
Blueberry
#464196
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B95 #95891F
analogous
#1F6695 #1F2B95 #4E1F95
triadic
#1F2B95 #951F2B #2B951F
tetradic
#1F2B95 #951F66 #95891F #1F954E
square
#1F2B95 #951F66 #95891F #1F954E
split-complementary
#1F2B95 #954E1F #66951F
monochromatic
#0A0E30 #141C62 #1F2B95 #2A3AC8 #5361DB
Accessibility & contrast
On white
11.43
#1F2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1F2B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B95
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B95 | 1.00 | 11.43 | 1.84 | 11.43 |
| #FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f2b95; /* rgb */ color: rgb(31, 43, 149); /* oklch */ color: oklch(36.1% 0.171 269.8);
Tailwind
colors: {
custom: {
50: '#7065b5',
500: '#1f2b95',
950: '#000000',
},
}SCSS
$custom: #1f2b95; $custom-light: #7065b5; $custom-dark: #000000;
JSON
{
"hex": "#1f2b95",
"rgb": {
"r": 31,
"g": 43,
"b": 149
},
"hsl": {
"h": 233.898,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.36136,
"c": 0.17096,
"h": 269.8
},
"luminance": 0.04189
}Semantic roles & 50–950 ramp
primary
#1F2B95
secondary
#BFB351
accent
#D73FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80