#338DB0#338DB0

#338DB0 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.5% C 0.099 H 227.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#338DB0
RGBrgb(51, 141, 176)
HSLhsl(197, 55%, 45%)
HSVhsv(197, 71%, 69%)
CMYKcmyk(71%, 19.9%, 0%, 31%)
CIE-LABlab(54.95, -14.91, -26.08)
CIE-LCHlch(54.95, 30.04, 240.24°)
OKLaboklab(60.54% -0.0662 -0.0731)
OKLCHoklch(60.54% 0.099 227.8)
XYZxyz(18.7234, 22.8860, 44.4965)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338DB0 #B05633
analogous
#33B095 #338DB0 #334FB0
triadic
#338DB0 #B0338D #8DB033
tetradic
#338DB0 #9533B0 #B05633 #4FB033
square
#338DB0 #9533B0 #B05633 #4FB033
split-complementary
#338DB0 #B0334F #B09533
monochromatic
#184151 #256781 #338DB0 #53ABCD #82C2DB

Accessibility & contrast

On white

3.77
#338DB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#338DB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338DB0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338DB0#FFFFFF#000000##000000
##338DB01.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8BB2
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#009798
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #338db0;
/* rgb */ color: rgb(51, 141, 176);
/* oklch */ color: oklch(60.5% 0.099 227.8);
Tailwind
colors: {
  custom: {
    50: '#7baec7',
    500: '#338db0',
    950: '#000000',
  },
}
SCSS
$custom: #338db0;
$custom-light: #7baec7;
$custom-dark: #000000;
JSON
{
  "hex": "#338db0",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 176
  },
  "hsl": {
    "h": 196.8,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6054,
    "c": 0.09859,
    "h": 227.8
  },
  "luminance": 0.22888
}

Semantic roles & 50–950 ramp

primary
#338DB0
secondary
#C48F7B
accent
#7349DE
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #338DB0

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#338DB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva