#338DAE#338DAE

#338DAE is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.4% C 0.097 H 226.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#338DAE
RGBrgb(51, 141, 174)
HSLhsl(196, 55%, 44%)
HSVhsv(196, 71%, 68%)
CMYKcmyk(70.7%, 19%, 0%, 31.8%)
CIE-LABlab(54.87, -15.58, -25.06)
CIE-LCHlch(54.87, 29.51, 238.13°)
OKLaboklab(60.45% -0.0669 -0.0702)
OKLCHoklch(60.45% 0.097 226.3)
XYZxyz(18.5270, 22.8075, 43.4621)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338DAE #AE5433
analogous
#33AE92 #338DAE #334FAE
triadic
#338DAE #AE338D #8DAE33
tetradic
#338DAE #9233AE #AE5433 #4FAE33
square
#338DAE #9233AE #AE5433 #4FAE33
split-complementary
#338DAE #AE334F #AE9233
monochromatic
#17404F #25677F #338DAE #52ABCC #81C2DA

Accessibility & contrast

On white

3.78
#338DAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#338DAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338DAE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338DAE#FFFFFF#000000##000000
##338DAE1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8AB0
Deuteranopia (green-blind)
#6A7EAE
Tritanopia (blue-blind)
#009798
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #338dae;
/* rgb */ color: rgb(51, 141, 174);
/* oklch */ color: oklch(60.4% 0.097 226.3);
Tailwind
colors: {
  custom: {
    50: '#7baec6',
    500: '#338dae',
    950: '#000000',
  },
}
SCSS
$custom: #338dae;
$custom-light: #7baec6;
$custom-dark: #000000;
JSON
{
  "hex": "#338dae",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 174
  },
  "hsl": {
    "h": 196.098,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60449,
    "c": 0.09698,
    "h": 226.3
  },
  "luminance": 0.2281
}

Semantic roles & 50–950 ramp

primary
#338DAE
secondary
#C38D79
accent
#724ADE
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #338DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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