#338AE2#338AE2
#338AE2 is a light, vivid cyan. Relative luminance 0.244; OKLCH L 62.5% C 0.156 H 252.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #338AE2 |
|---|---|
| RGB | rgb(51, 138, 226) |
| HSL | hsl(210, 75%, 54%) |
| HSV | hsv(210, 77%, 89%) |
| CMYK | cmyk(77.4%, 38.9%, 0%, 11.4%) |
| CIE-LAB | lab(56.46, 4.49, -51.99) |
| CIE-LCH | lch(56.46, 52.19, 274.94°) |
| OKLab | oklab(62.51% -0.0481 -0.1485) |
| OKLCH | oklch(62.51% 0.156 252) |
| XYZ | xyz(24.1760, 24.3689, 75.3662) |
| Luminance | 0.2437 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 1.83
Dodgerblue
#1E90FF
ΔE00 3.14
Cerulean (survey)
#0485D1
ΔE00 4.23
Cool Blue
#4984B8
ΔE00 4.65
Azure
#007FFF
ΔE00 4.66
Water Blue
#0E87CC
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338AE2 #E28B33
analogous
#33E2E2 #338AE2 #3433E2
triadic
#338AE2 #E2338A #8AE233
tetradic
#338AE2 #E233E2 #E28B33 #33E234
square
#338AE2 #E233E2 #E28B33 #33E234
split-complementary
#338AE2 #E23433 #E2E233
monochromatic
#134D87 #1B6BBD #338AE2 #69A9EA #9EC7F1
Accessibility & contrast
On white
3.57
#338AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#338AE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338AE2
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338AE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338AE2 | 1.00 | 3.57 | 5.87 | 5.87 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6090E6
Deuteranopia (green-blind)
#4480E0
Tritanopia (blue-blind)
#009FAB
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #338ae2; /* rgb */ color: rgb(51, 138, 226); /* oklch */ color: oklch(62.5% 0.156 252.0);
Tailwind
colors: {
custom: {
50: '#83abeb',
500: '#338ae2',
950: '#000000',
},
}SCSS
$custom: #338ae2; $custom-light: #83abeb; $custom-dark: #000000;
JSON
{
"hex": "#338ae2",
"rgb": {
"r": 51,
"g": 138,
"b": 226
},
"hsl": {
"h": 210.171,
"s": 75.107,
"l": 54.314
},
"oklch": {
"l": 0.62507,
"c": 0.15607,
"h": 252
},
"luminance": 0.24372
}Semantic roles & 50–950 ramp
primary
#338AE2
secondary
#DEB993
accent
#9436F2
background
#F8FAFE
surface
#F0F4FD
border
#CBCED5
text
#0C1016
muted
#7D7F84