#1F2275#1F2275
#1F2275 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.138 H 273.4°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2275 |
|---|---|
| RGB | rgb(31, 34, 117) |
| HSL | hsl(238, 58%, 29%) |
| HSV | hsv(238, 74%, 46%) |
| CMYK | cmyk(73.5%, 70.9%, 0%, 54.1%) |
| CIE-LAB | lab(18.88, 28.45, -47.81) |
| CIE-LCH | lch(18.88, 55.63, 300.76°) |
| OKLab | oklab(31.25% 0.0083 -0.1382) |
| OKLCH | oklch(31.25% 0.138 273.4) |
| XYZ | xyz(4.3469, 2.7193, 17.1220) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.43
Royal
#0C1793
ΔE00 5.65
Dark Royal Blue
#02066F
ΔE00 6.50
Darkblue (survey)
#030764
ΔE00 6.69
Deep Blue
#040273
ΔE00 7.11
Navy
#000080
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2275 #75721F
analogous
#1F4D75 #1F2275 #471F75
triadic
#1F2275 #751F22 #22751F
tetradic
#1F2275 #751F4D #75721F #1F7547
square
#1F2275 #751F4D #75721F #1F7547
split-complementary
#1F2275 #75471F #4D751F
monochromatic
#060718 #121445 #1F2275 #2C30A5 #4246CD
Accessibility & contrast
On white
13.60
#1F2275 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1F2275 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2275
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2275 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2275 | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002A73
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1f2275; /* rgb */ color: rgb(31, 34, 117); /* oklch */ color: oklch(31.2% 0.138 273.4);
Tailwind
colors: {
custom: {
50: '#685d9e',
500: '#1f2275',
950: '#000000',
},
}SCSS
$custom: #1f2275; $custom-light: #685d9e; $custom-dark: #000000;
JSON
{
"hex": "#1f2275",
"rgb": {
"r": 31,
"g": 34,
"b": 117
},
"hsl": {
"h": 237.907,
"s": 58.108,
"l": 29.02
},
"oklch": {
"l": 0.31247,
"c": 0.13843,
"h": 273.4
},
"luminance": 0.0272
}Semantic roles & 50–950 ramp
primary
#1F2275
secondary
#A9A547
accent
#DC46E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E