#1F26A6#1F26A6
#1F26A6 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.197 H 269.7°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1F26A6 |
|---|---|
| RGB | rgb(31, 38, 166) |
| HSL | hsl(237, 69%, 39%) |
| HSV | hsv(237, 81%, 65%) |
| CMYK | cmyk(81.3%, 77.1%, 0%, 34.9%) |
| CIE-LAB | lab(25.04, 43.47, -68.16) |
| CIE-LCH | lch(25.04, 80.84, 302.53°) |
| OKLab | oklab(37.22% -0.0012 -0.1974) |
| OKLCH | oklch(37.22% 0.197 269.7) |
| XYZ | xyz(8.1388, 4.4298, 36.4951) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.09
Royal
#0C1793
ΔE00 4.28
Cobalt Blue
#030AA7
ΔE00 4.80
Sapphire (survey)
#2138AB
ΔE00 4.84
Royal Blue (survey)
#0504AA
ΔE00 5.28
Ultramarine
#2000B1
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F26A6 #A69F1F
analogous
#1F69A6 #1F26A6 #5B1FA6
triadic
#1F26A6 #A61F26 #26A61F
tetradic
#1F26A6 #A61F69 #A69F1F #1FA65B
square
#1F26A6 #A61F69 #A69F1F #1FA65B
split-complementary
#1F26A6 #A65B1F #69A61F
monochromatic
#0C0E3F #151A72 #1F26A6 #2B34D7 #5E65E1
Accessibility & contrast
On white
11.13
#1F26A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#1F26A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F26A6
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F26A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F26A6 | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0034A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f26a6; /* rgb */ color: rgb(31, 38, 166); /* oklch */ color: oklch(37.2% 0.197 269.7);
Tailwind
colors: {
custom: {
50: '#7562c2',
500: '#1f26a6',
950: '#000000',
},
}SCSS
$custom: #1f26a6; $custom-light: #7562c2; $custom-dark: #000000;
JSON
{
"hex": "#1f26a6",
"rgb": {
"r": 31,
"g": 38,
"b": 166
},
"hsl": {
"h": 236.889,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.37223,
"c": 0.19745,
"h": 269.7
},
"luminance": 0.04431
}Semantic roles & 50–950 ramp
primary
#1F26A6
secondary
#C5C05B
accent
#E23CEB
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0513
muted
#7C7982