#1F25A6#1F25A6
#1F25A6 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.198 H 269.7°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1F25A6 |
|---|---|
| RGB | rgb(31, 37, 166) |
| HSL | hsl(237, 69%, 39%) |
| HSV | hsv(237, 81%, 65%) |
| CMYK | cmyk(81.3%, 77.7%, 0%, 34.9%) |
| CIE-LAB | lab(24.85, 44.03, -68.49) |
| CIE-LCH | lch(24.85, 81.42, 302.73°) |
| OKLab | oklab(37.09% -0.0009 -0.1984) |
| OKLCH | oklch(37.09% 0.198 269.7) |
| XYZ | xyz(8.1072, 4.3667, 36.4846) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.93
Royal
#0C1793
ΔE00 4.12
Cobalt Blue
#030AA7
ΔE00 4.58
Royal Blue (survey)
#0504AA
ΔE00 5.05
Sapphire (survey)
#2138AB
ΔE00 5.07
Ultramarine
#2000B1
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F25A6 #A6A01F
analogous
#1F68A6 #1F25A6 #5C1FA6
triadic
#1F25A6 #A61F25 #25A61F
tetradic
#1F25A6 #A61F68 #A6A01F #1FA65C
square
#1F25A6 #A61F68 #A6A01F #1FA65C
split-complementary
#1F25A6 #A65C1F #68A61F
monochromatic
#0C0E3F #151A72 #1F25A6 #2B32D7 #5E64E1
Accessibility & contrast
On white
11.21
#1F25A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1F25A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F25A6
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F25A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F25A6 | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0034A4
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f25a6; /* rgb */ color: rgb(31, 37, 166); /* oklch */ color: oklch(37.1% 0.198 269.7);
Tailwind
colors: {
custom: {
50: '#7562c2',
500: '#1f25a6',
950: '#000000',
},
}SCSS
$custom: #1f25a6; $custom-light: #7562c2; $custom-dark: #000000;
JSON
{
"hex": "#1f25a6",
"rgb": {
"r": 31,
"g": 37,
"b": 166
},
"hsl": {
"h": 237.333,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.37085,
"c": 0.19838,
"h": 269.7
},
"luminance": 0.04368
}Semantic roles & 50–950 ramp
primary
#1F25A6
secondary
#C5C15B
accent
#E43CEB
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0513
muted
#7C7982