#338AAE#338AAE

#338AAE is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.7% C 0.098 H 229.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#338AAE
RGBrgb(51, 138, 174)
HSLhsl(198, 55%, 44%)
HSVhsv(198, 71%, 68%)
CMYKcmyk(70.7%, 20.7%, 0%, 31.8%)
CIE-LABlab(53.96, -13.93, -26.48)
CIE-LCHlch(53.96, 29.92, 242.25°)
OKLaboklab(59.72% -0.0638 -0.0742)
OKLCHoklch(59.72% 0.098 229.3)
XYZxyz(18.0906, 21.9347, 43.3166)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338AAE #AE5733
analogous
#33AE95 #338AAE #334DAE
triadic
#338AAE #AE338A #8AAE33
tetradic
#338AAE #9533AE #AE5733 #4DAE33
square
#338AAE #9533AE #AE5733 #4DAE33
split-complementary
#338AAE #AE334D #AE9533
monochromatic
#173F4F #25647F #338AAE #52A8CC #81C0DA

Accessibility & contrast

On white

3.90
#338AAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#338AAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338AAE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338AAE#FFFFFF#000000##000000
##338AAE1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B0
Deuteranopia (green-blind)
#677CAE
Tritanopia (blue-blind)
#009496
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #338aae;
/* rgb */ color: rgb(51, 138, 174);
/* oklch */ color: oklch(59.7% 0.098 229.3);
Tailwind
colors: {
  custom: {
    50: '#7aacc6',
    500: '#338aae',
    950: '#000000',
  },
}
SCSS
$custom: #338aae;
$custom-light: #7aacc6;
$custom-dark: #000000;
JSON
{
  "hex": "#338aae",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 174
  },
  "hsl": {
    "h": 197.561,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.59717,
    "c": 0.09792,
    "h": 229.3
  },
  "luminance": 0.21937
}

Semantic roles & 50–950 ramp

primary
#338AAE
secondary
#C38F79
accent
#754ADE
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #338AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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