#338AC0#338AC0
#338AC0 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.6% C 0.116 H 240.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #338AC0 |
|---|---|
| RGB | rgb(51, 138, 192) |
| HSL | hsl(203, 58%, 48%) |
| HSV | hsv(203, 73%, 75%) |
| CMYK | cmyk(73.4%, 28.1%, 0%, 24.7%) |
| CIE-LAB | lab(54.75, -7.72, -35.53) |
| CIE-LCH | lch(54.75, 36.36, 257.74°) |
| OKLab | oklab(60.6% -0.0576 -0.1004) |
| OKLCH | oklch(60.6% 0.116 240.2) |
| XYZ | xyz(19.9644, 22.6842, 53.1853) |
| Luminance | 0.2269 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 2.37
Cerulean (survey)
#0485D1
ΔE00 3.41
Cool Blue
#4984B8
ΔE00 3.79
Steel Blue
#4682B4
ΔE00 3.90
Off Blue
#5684AE
ΔE00 5.11
Dusty Blue
#5A86AD
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338AC0 #C06933
analogous
#33C0B0 #338AC0 #3343C0
triadic
#338AC0 #C0338A #8AC033
tetradic
#338AC0 #B033C0 #C06933 #43C033
square
#338AC0 #B033C0 #C06933 #43C033
split-complementary
#338AC0 #C03343 #C0B033
monochromatic
#19445F #266790 #338AC0 #5CA6D4 #8DC1E1
Accessibility & contrast
On white
3.79
#338AC0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#338AC0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338AC0
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338AC0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338AC0 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#718AC2
Deuteranopia (green-blind)
#5E7DBF
Tritanopia (blue-blind)
#00989D
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #338ac0; /* rgb */ color: rgb(51, 138, 192); /* oklch */ color: oklch(60.6% 0.116 240.2);
Tailwind
colors: {
custom: {
50: '#7dacd3',
500: '#338ac0',
950: '#000000',
},
}SCSS
$custom: #338ac0; $custom-light: #7dacd3; $custom-dark: #000000;
JSON
{
"hex": "#338ac0",
"rgb": {
"r": 51,
"g": 138,
"b": 192
},
"hsl": {
"h": 202.979,
"s": 58.025,
"l": 47.647
},
"oklch": {
"l": 0.60603,
"c": 0.11573,
"h": 240.2
},
"luminance": 0.22687
}Semantic roles & 50–950 ramp
primary
#338AC0
secondary
#CB9F84
accent
#8247E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82