#338DBC#338DBC
#338DBC is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.1% C 0.110 H 235.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #338DBC |
|---|---|
| RGB | rgb(51, 141, 188) |
| HSL | hsl(201, 57%, 47%) |
| HSV | hsv(201, 73%, 74%) |
| CMYK | cmyk(72.9%, 25%, 0%, 26.3%) |
| CIE-LAB | lab(55.46, -10.82, -32.14) |
| CIE-LCH | lch(55.46, 33.91, 251.39°) |
| OKLab | oklab(61.11% -0.0619 -0.0905) |
| OKLCH | oklch(61.11% 0.11 235.7) |
| XYZ | xyz(19.9636, 23.3821, 51.0283) |
| Luminance | 0.2338 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 4.48
Cool Blue
#4984B8
ΔE00 5.46
Steel Blue
#4682B4
ΔE00 5.47
Cerulean (survey)
#0485D1
ΔE00 5.65
Dusty Blue
#5A86AD
ΔE00 6.00
Off Blue
#5684AE
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338DBC #BC6233
analogous
#33BCA7 #338DBC #3349BC
triadic
#338DBC #BC338D #8DBC33
tetradic
#338DBC #A733BC #BC6233 #49BC33
square
#338DBC #A733BC #BC6233 #49BC33
split-complementary
#338DBC #BC3349 #BCA733
monochromatic
#19455C #26698C #338DBC #5AA9D2 #8AC2DF
Accessibility & contrast
On white
3.70
#338DBC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#338DBC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338DBC
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338DBC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338DBC | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#768CBE
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#00999D
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #338dbc; /* rgb */ color: rgb(51, 141, 188); /* oklch */ color: oklch(61.1% 0.110 235.7);
Tailwind
colors: {
custom: {
50: '#7daed0',
500: '#338dbc',
950: '#000000',
},
}SCSS
$custom: #338dbc; $custom-light: #7daed0; $custom-dark: #000000;
JSON
{
"hex": "#338dbc",
"rgb": {
"r": 51,
"g": 141,
"b": 188
},
"hsl": {
"h": 200.584,
"s": 57.322,
"l": 46.863
},
"oklch": {
"l": 0.61114,
"c": 0.10964,
"h": 235.7
},
"luminance": 0.23384
}Semantic roles & 50–950 ramp
primary
#338DBC
secondary
#C99A81
accent
#7C47E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82