#338C9E#338C9E

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

Color values

HEX#338C9E
RGBrgb(51, 140, 158)
HSLhsl(190, 51%, 41%)
HSVhsv(190, 68%, 62%)
CMYKcmyk(67.7%, 11.4%, 0%, 38%)
CIE-LABlab(53.95, -20.28, -17.29)
CIE-LCHlch(53.95, 26.65, 220.45°)
OKLaboklab(59.5% -0.0723 -0.0481)
OKLCHoklch(59.5% 0.087 213.6)
XYZxyz(16.9123, 21.9267, 35.6821)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C9E #9E4533
analogous
#339E7A #338C9E #33579E
triadic
#338C9E #9E338C #8C9E33
tetradic
#338C9E #7A339E #9E4533 #579E33
square
#338C9E #7A339E #9E4533 #579E33
split-complementary
#338C9E #9E3357 #9E7A33
monochromatic
#153A41 #246370 #338C9E #4AB0C4 #78C4D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338C9E#FFFFFF#000000##000000
##338C9E1.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)
#7F879F
Deuteranopia (green-blind)
#6F7C9E
Tritanopia (blue-blind)
#009392
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #338c9e;
/* rgb */ color: rgb(51, 140, 158);
/* oklch */ color: oklch(59.5% 0.087 213.6);
Tailwind
colors: {
  custom: {
    50: '#78adba',
    500: '#338c9e',
    950: '#000000',
  },
}
SCSS
$custom: #338c9e;
$custom-light: #78adba;
$custom-dark: #000000;
JSON
{
  "hex": "#338c9e",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 158
  },
  "hsl": {
    "h": 190.093,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.59503,
    "c": 0.08681,
    "h": 213.6
  },
  "luminance": 0.21929
}

Semantic roles & 50–950 ramp

primary
#338C9E
secondary
#BC7E71
accent
#654DDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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