#338EAE#338EAE

#338EAE is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.7% C 0.097 H 225.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#338EAE
RGBrgb(51, 142, 174)
HSLhsl(196, 55%, 44%)
HSVhsv(196, 71%, 68%)
CMYKcmyk(70.7%, 18.4%, 0%, 31.8%)
CIE-LABlab(55.18, -16.13, -24.59)
CIE-LCHlch(55.18, 29.41, 236.74°)
OKLaboklab(60.69% -0.068 -0.0688)
OKLCHoklch(60.69% 0.097 225.4)
XYZxyz(18.6751, 23.1037, 43.5114)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338EAE #AE5333
analogous
#33AE91 #338EAE #3350AE
triadic
#338EAE #AE338E #8EAE33
tetradic
#338EAE #9133AE #AE5333 #50AE33
square
#338EAE #9133AE #AE5333 #50AE33
split-complementary
#338EAE #AE3350 #AE9133
monochromatic
#17414F #25677F #338EAE #52ACCC #81C3DA

Accessibility & contrast

On white

3.74
#338EAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#338EAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338EAE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338EAE#FFFFFF#000000##000000
##338EAE1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8BB0
Deuteranopia (green-blind)
#6B7FAE
Tritanopia (blue-blind)
#009798
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #338eae;
/* rgb */ color: rgb(51, 142, 174);
/* oklch */ color: oklch(60.7% 0.097 225.4);
Tailwind
colors: {
  custom: {
    50: '#7bafc6',
    500: '#338eae',
    950: '#000000',
  },
}
SCSS
$custom: #338eae;
$custom-light: #7bafc6;
$custom-dark: #000000;
JSON
{
  "hex": "#338eae",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 174
  },
  "hsl": {
    "h": 195.61,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60693,
    "c": 0.09671,
    "h": 225.4
  },
  "luminance": 0.23106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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