#1F269E#1F269E
#1F269E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.188 H 270.0°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1F269E |
|---|---|
| RGB | rgb(31, 38, 158) |
| HSL | hsl(237, 67%, 37%) |
| HSV | hsv(237, 80%, 62%) |
| CMYK | cmyk(80.4%, 75.9%, 0%, 38%) |
| CIE-LAB | lab(24.15, 40.72, -64.79) |
| CIE-LCH | lch(24.15, 76.52, 302.15°) |
| OKLab | oklab(36.32% 0.0001 -0.1876) |
| OKLCH | oklch(36.32% 0.188 270) |
| XYZ | xyz(7.4276, 4.1453, 32.7498) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.71
Indigo Blue
#3A18B1
ΔE00 4.79
Cobalt Blue
#030AA7
ΔE00 4.97
Sapphire (survey)
#2138AB
ΔE00 5.07
Royal Blue (survey)
#0504AA
ΔE00 5.52
Ultramarine
#2000B1
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F269E #9E971F
analogous
#1F669E #1F269E #581F9E
triadic
#1F269E #9E1F26 #269E1F
tetradic
#1F269E #9E1F66 #9E971F #1F9E58
square
#1F269E #9E1F66 #9E971F #1F9E58
split-complementary
#1F269E #9E581F #669E1F
monochromatic
#0B0D38 #151A6B #1F269E #2932D1 #5960DE
Accessibility & contrast
On white
11.48
#1F269E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1F269E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F269E
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F269E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F269E | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f269e; /* rgb */ color: rgb(31, 38, 158); /* oklch */ color: oklch(36.3% 0.188 270.0);
Tailwind
colors: {
custom: {
50: '#7362bc',
500: '#1f269e',
950: '#000000',
},
}SCSS
$custom: #1f269e; $custom-light: #7362bc; $custom-dark: #000000;
JSON
{
"hex": "#1f269e",
"rgb": {
"r": 31,
"g": 38,
"b": 158
},
"hsl": {
"h": 236.693,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.36323,
"c": 0.18765,
"h": 270
},
"luminance": 0.04146
}Semantic roles & 50–950 ramp
primary
#1F269E
secondary
#C2BC56
accent
#E13EEA
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981