#338CAE#338CAE

#338CAE is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.2% C 0.097 H 227.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#338CAE
RGBrgb(51, 140, 174)
HSLhsl(197, 55%, 44%)
HSVhsv(197, 71%, 68%)
CMYKcmyk(70.7%, 19.5%, 0%, 31.8%)
CIE-LABlab(54.57, -15.03, -25.53)
CIE-LCHlch(54.57, 29.63, 239.51°)
OKLaboklab(60.2% -0.0659 -0.0715)
OKLCHoklch(60.2% 0.097 227.3)
XYZxyz(18.3802, 22.5139, 43.4131)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338CAE #AE5533
analogous
#33AE93 #338CAE #334FAE
triadic
#338CAE #AE338C #8CAE33
tetradic
#338CAE #9333AE #AE5533 #4FAE33
square
#338CAE #9333AE #AE5533 #4FAE33
split-complementary
#338CAE #AE334F #AE9333
monochromatic
#17404F #25667F #338CAE #52AACC #81C2DA

Accessibility & contrast

On white

3.82
#338CAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#338CAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338CAE
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338CAE#FFFFFF#000000##000000
##338CAE1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A89B0
Deuteranopia (green-blind)
#697DAE
Tritanopia (blue-blind)
#009697
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #338cae;
/* rgb */ color: rgb(51, 140, 174);
/* oklch */ color: oklch(60.2% 0.097 227.3);
Tailwind
colors: {
  custom: {
    50: '#7badc6',
    500: '#338cae',
    950: '#000000',
  },
}
SCSS
$custom: #338cae;
$custom-light: #7badc6;
$custom-dark: #000000;
JSON
{
  "hex": "#338cae",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 174
  },
  "hsl": {
    "h": 196.585,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60204,
    "c": 0.09726,
    "h": 227.3
  },
  "luminance": 0.22516
}

Semantic roles & 50–950 ramp

primary
#338CAE
secondary
#C38E79
accent
#734ADE
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #338CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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