#3181E2#3181E2
#3181E2 is a mid, vivid cyan. Relative luminance 0.218; OKLCH L 60.5% C 0.166 H 255.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #3181E2 |
|---|---|
| RGB | rgb(49, 129, 226) |
| HSL | hsl(213, 75%, 54%) |
| HSV | hsv(213, 78%, 89%) |
| CMYK | cmyk(78.3%, 42.9%, 0%, 11.4%) |
| CIE-LAB | lab(53.86, 9.74, -56.14) |
| CIE-LCH | lch(53.86, 56.98, 279.84°) |
| OKLab | oklab(60.47% -0.0417 -0.1608) |
| OKLCH | oklch(60.47% 0.166 255.4) |
| XYZ | xyz(22.8392, 21.8417, 74.9489) |
| Luminance | 0.2184 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Azure
#007FFF
ΔE00 2.67
Dodger Blue
#3E82FC
ΔE00 3.98
Clear Blue
#247AFD
ΔE00 3.99
Dark Sky Blue
#448EE4
ΔE00 4.33
Cool Blue
#4984B8
ΔE00 4.40
Deep Sky Blue
#0D75F8
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3181E2 #E29231
analogous
#31DAE2 #3181E2 #3A31E2
triadic
#3181E2 #E23181 #81E231
tetradic
#3181E2 #E231DA #E29231 #31E23A
square
#3181E2 #E231DA #E29231 #31E23A
split-complementary
#3181E2 #E23A31 #DAE231
monochromatic
#134786 #1A63BB #3181E2 #67A2EA #9CC3F1
Accessibility & contrast
On white
3.91
#3181E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#3181E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3181E2
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3181E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3181E2 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5089E6
Deuteranopia (green-blind)
#2E79E0
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #3181e2; /* rgb */ color: rgb(49, 129, 226); /* oklch */ color: oklch(60.5% 0.166 255.4);
Tailwind
colors: {
custom: {
50: '#83a4ec',
500: '#3181e2',
950: '#000000',
},
}SCSS
$custom: #3181e2; $custom-light: #83a4ec; $custom-dark: #000000;
JSON
{
"hex": "#3181e2",
"rgb": {
"r": 49,
"g": 129,
"b": 226
},
"hsl": {
"h": 212.881,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.60471,
"c": 0.16617,
"h": 255.4
},
"luminance": 0.21844
}Semantic roles & 50–950 ramp
primary
#3181E2
secondary
#DDBB92
accent
#9D36F2
background
#F8FAFE
surface
#F0F4FD
border
#CBCED5
text
#0C0F16
muted
#7D7F84