#172FE2#172FE2
#172FE2 is a mid, highly saturated blue. Relative luminance 0.077; OKLCH L 45.0% C 0.260 H 266.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #172FE2 |
|---|---|
| RGB | rgb(23, 47, 226) |
| HSL | hsl(233, 82%, 49%) |
| HSV | hsv(233, 90%, 89%) |
| CMYK | cmyk(89.8%, 79.2%, 0%, 11.4%) |
| CIE-LAB | lab(33.36, 58.00, -89.65) |
| CIE-LCH | lch(33.36, 106.77, 302.90°) |
| OKLab | oklab(45% -0.0179 -0.2599) |
| OKLCH | oklch(45% 0.26 266.1) |
| XYZ | xyz(15.0926, 7.7042, 72.6283) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Rich Blue
#021BF9
ΔE00 3.31
Vivid Blue
#152EFF
ΔE00 3.49
Vibrant Blue
#0339F8
ΔE00 3.66
Light Royal Blue
#3A2EFE
ΔE00 4.47
Strong Blue
#0C06F7
ΔE00 4.49
Primary Blue
#0804F9
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172FE2 #E2CA17
analogous
#1795E2 #172FE2 #6417E2
triadic
#172FE2 #E2172F #2FE217
tetradic
#172FE2 #E21795 #E2CA17 #17E264
square
#172FE2 #E21795 #E2CA17 #17E264
split-complementary
#172FE2 #E26417 #95E217
monochromatic
#0C1873 #1123AA #172FE2 #4A5DED #818FF2
Accessibility & contrast
On white
8.26
#172FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#172FE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172FE2
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172FE2 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#0044DF
Tritanopia (blue-blind)
#006889
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #172fe2; /* rgb */ color: rgb(23, 47, 226); /* oklch */ color: oklch(45.0% 0.260 266.1);
Tailwind
colors: {
custom: {
50: '#826bed',
500: '#172fe2',
950: '#000000',
},
}SCSS
$custom: #172fe2; $custom-light: #826bed; $custom-dark: #000000;
JSON
{
"hex": "#172fe2",
"rgb": {
"r": 23,
"g": 47,
"b": 226
},
"hsl": {
"h": 232.906,
"s": 81.526,
"l": 48.824
},
"oklch": {
"l": 0.45004,
"c": 0.26046,
"h": 266.1
},
"luminance": 0.07706
}Semantic roles & 50–950 ramp
primary
#172FE2
secondary
#DBCF7A
accent
#E030F8
background
#F9F6FE
surface
#F1EBFD
border
#CBC6D5
text
#0D0717
muted
#7E7A85