#1F27A6#1F27A6
#1F27A6 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.197 H 269.6°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1F27A6 |
|---|---|
| RGB | rgb(31, 39, 166) |
| HSL | hsl(236, 69%, 39%) |
| HSV | hsv(236, 81%, 65%) |
| CMYK | cmyk(81.3%, 76.5%, 0%, 34.9%) |
| CIE-LAB | lab(25.24, 42.90, -67.83) |
| CIE-LCH | lch(25.24, 80.26, 302.31°) |
| OKLab | oklab(37.36% -0.0015 -0.1965) |
| OKLCH | oklch(37.36% 0.197 269.6) |
| XYZ | xyz(8.1712, 4.4946, 36.5059) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.26
Royal
#0C1793
ΔE00 4.46
Sapphire (survey)
#2138AB
ΔE00 4.60
Cobalt Blue
#030AA7
ΔE00 5.04
Royal Blue (survey)
#0504AA
ΔE00 5.51
True Blue
#010FCC
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F27A6 #A69E1F
analogous
#1F6AA6 #1F27A6 #5A1FA6
triadic
#1F27A6 #A61F27 #27A61F
tetradic
#1F27A6 #A61F6A #A69E1F #1FA65A
square
#1F27A6 #A61F6A #A69E1F #1FA65A
split-complementary
#1F27A6 #A65A1F #6AA61F
monochromatic
#0C0F3F #151B72 #1F27A6 #2B35D7 #5E66E1
Accessibility & contrast
On white
11.06
#1F27A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#1F27A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F27A6
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F27A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F27A6 | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f27a6; /* rgb */ color: rgb(31, 39, 166); /* oklch */ color: oklch(37.4% 0.197 269.6);
Tailwind
colors: {
custom: {
50: '#7563c2',
500: '#1f27a6',
950: '#000000',
},
}SCSS
$custom: #1f27a6; $custom-light: #7563c2; $custom-dark: #000000;
JSON
{
"hex": "#1f27a6",
"rgb": {
"r": 31,
"g": 39,
"b": 166
},
"hsl": {
"h": 236.444,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.37364,
"c": 0.19652,
"h": 269.6
},
"luminance": 0.04496
}Semantic roles & 50–950 ramp
primary
#1F27A6
secondary
#C5BF5B
accent
#E13CEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82