#338BB1#338BB1
#338BB1 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.1% C 0.100 H 230.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #338BB1 |
|---|---|
| RGB | rgb(51, 139, 177) |
| HSL | hsl(198, 55%, 45%) |
| HSV | hsv(198, 71%, 69%) |
| CMYK | cmyk(71.2%, 21.5%, 0%, 30.6%) |
| CIE-LAB | lab(54.39, -13.47, -27.53) |
| CIE-LCH | lch(54.39, 30.65, 243.93°) |
| OKLab | oklab(60.1% -0.0638 -0.0773) |
| OKLCH | oklch(60.1% 0.1 230.5) |
| XYZ | xyz(18.5305, 22.3413, 44.9221) |
| Luminance | 0.2234 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.34
Cerulean
#007BA7
ΔE00 6.40
Steel Blue
#4682B4
ΔE00 6.67
Dusty Blue
#5A86AD
ΔE00 6.79
Water Blue
#0E87CC
ΔE00 6.83
Cool Blue
#4984B8
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338BB1 #B15933
analogous
#33B198 #338BB1 #334CB1
triadic
#338BB1 #B1338B #8BB133
tetradic
#338BB1 #9833B1 #B15933 #4CB133
square
#338BB1 #9833B1 #B15933 #4CB133
split-complementary
#338BB1 #B1334C #B19833
monochromatic
#184052 #256681 #338BB1 #54A9CE #83C1DB
Accessibility & contrast
On white
3.84
#338BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#338BB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338BB1
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338BB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338BB1 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7889B3
Deuteranopia (green-blind)
#667DB0
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #338bb1; /* rgb */ color: rgb(51, 139, 177); /* oklch */ color: oklch(60.1% 0.100 230.5);
Tailwind
colors: {
custom: {
50: '#7bacc8',
500: '#338bb1',
950: '#000000',
},
}SCSS
$custom: #338bb1; $custom-light: #7bacc8; $custom-dark: #000000;
JSON
{
"hex": "#338bb1",
"rgb": {
"r": 51,
"g": 139,
"b": 177
},
"hsl": {
"h": 198.095,
"s": 55.263,
"l": 44.706
},
"oklch": {
"l": 0.60101,
"c": 0.10017,
"h": 230.5
},
"luminance": 0.22343
}Semantic roles & 50–950 ramp
primary
#338BB1
secondary
#C5917B
accent
#7649DF
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82