#1F41AF#1F41AF
#1F41AF is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.179 H 265.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1F41AF |
|---|---|
| RGB | rgb(31, 65, 175) |
| HSL | hsl(226, 70%, 40%) |
| HSV | hsv(226, 82%, 69%) |
| CMYK | cmyk(82.3%, 62.9%, 0%, 31.4%) |
| CIE-LAB | lab(32.18, 29.85, -61.81) |
| CIE-LCH | lch(32.18, 68.65, 295.78°) |
| OKLab | oklab(42.67% -0.0136 -0.1789) |
| OKLCH | oklch(42.67% 0.179 265.7) |
| XYZ | xyz(10.1905, 7.1658, 41.3952) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.83
Cobalt
#0047AB
ΔE00 3.35
Blue Blue
#2242C7
ΔE00 3.39
Cobalt (survey)
#1E488F
ΔE00 5.94
Sapphire
#0F52BA
ΔE00 6.02
Blue (survey)
#0343DF
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F41AF #AF8D1F
analogous
#1F89AF #1F41AF #451FAF
triadic
#1F41AF #AF1F41 #41AF1F
tetradic
#1F41AF #AF1F89 #AF8D1F #1FAF45
square
#1F41AF #AF1F89 #AF8D1F #1FAF45
split-complementary
#1F41AF #AF451F #89AF1F
monochromatic
#0D1A47 #162E7B #1F41AF #3159DA #6583E4
Accessibility & contrast
On white
8.63
#1F41AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#1F41AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F41AF
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F41AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F41AF | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f41af; /* rgb */ color: rgb(31, 65, 175); /* oklch */ color: oklch(42.7% 0.179 265.7);
Tailwind
colors: {
custom: {
50: '#7575c8',
500: '#1f41af',
950: '#000000',
},
}SCSS
$custom: #1f41af; $custom-light: #7575c8; $custom-dark: #000000;
JSON
{
"hex": "#1f41af",
"rgb": {
"r": 31,
"g": 65,
"b": 175
},
"hsl": {
"h": 225.833,
"s": 69.903,
"l": 40.392
},
"oklch": {
"l": 0.4267,
"c": 0.17943,
"h": 265.7
},
"luminance": 0.07167
}Semantic roles & 50–950 ramp
primary
#1F41AF
secondary
#C9B061
accent
#C33BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82