#338AB6#338AB6
#338AB6 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.1% C 0.105 H 234.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #338AB6 |
|---|---|
| RGB | rgb(51, 138, 182) |
| HSL | hsl(200, 56%, 46%) |
| HSV | hsv(200, 72%, 71%) |
| CMYK | cmyk(72%, 24.2%, 0%, 28.6%) |
| CIE-LAB | lab(54.30, -11.20, -30.53) |
| CIE-LCH | lch(54.30, 32.52, 249.86°) |
| OKLab | oklab(60.1% -0.061 -0.0859) |
| OKLCH | oklch(60.1% 0.105 234.6) |
| XYZ | xyz(18.8939, 22.2560, 47.5470) |
| Luminance | 0.2226 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 4.78
Steel Blue
#4682B4
ΔE00 5.13
Cool Blue
#4984B8
ΔE00 5.33
Dirty Blue
#3F829D
ΔE00 5.48
Dusty Blue
#5A86AD
ΔE00 5.80
Cerulean (survey)
#0485D1
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338AB6 #B65F33
analogous
#33B6A0 #338AB6 #3348B6
triadic
#338AB6 #B6338A #8AB633
tetradic
#338AB6 #A033B6 #B65F33 #48B633
square
#338AB6 #A033B6 #B65F33 #48B633
split-complementary
#338AB6 #B63348 #B6A033
monochromatic
#184256 #266686 #338AB6 #56A7D0 #86C0DD
Accessibility & contrast
On white
3.85
#338AB6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#338AB6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338AB6
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338AB6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338AB6 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7589B8
Deuteranopia (green-blind)
#637CB5
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #338ab6; /* rgb */ color: rgb(51, 138, 182); /* oklch */ color: oklch(60.1% 0.105 234.6);
Tailwind
colors: {
custom: {
50: '#7caccc',
500: '#338ab6',
950: '#000000',
},
}SCSS
$custom: #338ab6; $custom-light: #7caccc; $custom-dark: #000000;
JSON
{
"hex": "#338ab6",
"rgb": {
"r": 51,
"g": 138,
"b": 182
},
"hsl": {
"h": 200.153,
"s": 56.223,
"l": 45.686
},
"oklch": {
"l": 0.601,
"c": 0.10533,
"h": 234.6
},
"luminance": 0.22258
}Semantic roles & 50–950 ramp
primary
#338AB6
secondary
#C7967E
accent
#7B48E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82