#1F26A8#1F26A8
#1F26A8 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.200 H 269.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1F26A8 |
|---|---|
| RGB | rgb(31, 38, 168) |
| HSL | hsl(237, 69%, 39%) |
| HSV | hsv(237, 82%, 66%) |
| CMYK | cmyk(81.5%, 77.4%, 0%, 34.1%) |
| CIE-LAB | lab(25.27, 44.15, -68.99) |
| CIE-LCH | lch(25.27, 81.91, 302.61°) |
| OKLab | oklab(37.45% -0.0015 -0.1999) |
| OKLCH | oklch(37.45% 0.2 269.6) |
| XYZ | xyz(8.3237, 4.5037, 37.4688) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.95
Royal
#0C1793
ΔE00 4.46
Cobalt Blue
#030AA7
ΔE00 4.81
Sapphire (survey)
#2138AB
ΔE00 4.81
True Blue
#010FCC
ΔE00 5.23
Royal Blue (survey)
#0504AA
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F26A8 #A8A11F
analogous
#1F6BA8 #1F26A8 #5D1FA8
triadic
#1F26A8 #A81F26 #26A81F
tetradic
#1F26A8 #A81F6B #A8A11F #1FA85D
square
#1F26A8 #A81F6B #A8A11F #1FA85D
split-complementary
#1F26A8 #A85D1F #6BA81F
monochromatic
#0C0F41 #151A74 #1F26A8 #2C35D8 #6066E2
Accessibility & contrast
On white
11.05
#1F26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#1F26A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F26A8
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F26A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F26A8 | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0035A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f26a8; /* rgb */ color: rgb(31, 38, 168); /* oklch */ color: oklch(37.5% 0.200 269.6);
Tailwind
colors: {
custom: {
50: '#7562c3',
500: '#1f26a8',
950: '#000000',
},
}SCSS
$custom: #1f26a8; $custom-light: #7562c3; $custom-dark: #000000;
JSON
{
"hex": "#1f26a8",
"rgb": {
"r": 31,
"g": 38,
"b": 168
},
"hsl": {
"h": 236.934,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.3745,
"c": 0.19988,
"h": 269.6
},
"luminance": 0.04505
}Semantic roles & 50–950 ramp
primary
#1F26A8
secondary
#C6C15D
accent
#E33CEC
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0513
muted
#7C7982