#338B9E#338B9E

#338B9E is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.3% C 0.087 H 214.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#338B9E
RGBrgb(51, 139, 158)
HSLhsl(191, 51%, 41%)
HSVhsv(191, 68%, 62%)
CMYKcmyk(67.7%, 12%, 0%, 38%)
CIE-LABlab(53.64, -19.75, -17.76)
CIE-LCHlch(53.64, 26.56, 221.97°)
OKLaboklab(59.25% -0.0712 -0.0494)
OKLCHoklch(59.25% 0.087 214.8)
XYZxyz(16.7668, 21.6358, 35.6336)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B9E #9E4633
analogous
#339E7B #338B9E #33559E
triadic
#338B9E #9E338B #8B9E33
tetradic
#338B9E #7B339E #9E4633 #559E33
square
#338B9E #7B339E #9E4633 #559E33
split-complementary
#338B9E #9E3355 #9E7B33
monochromatic
#153A41 #246270 #338B9E #4AAFC4 #78C3D3

Accessibility & contrast

On white

3.94
#338B9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#338B9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B9E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B9E#FFFFFF#000000##000000
##338B9E1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D879F
Deuteranopia (green-blind)
#6E7B9E
Tritanopia (blue-blind)
#009291
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338b9e;
/* rgb */ color: rgb(51, 139, 158);
/* oklch */ color: oklch(59.3% 0.087 214.8);
Tailwind
colors: {
  custom: {
    50: '#78adba',
    500: '#338b9e',
    950: '#000000',
  },
}
SCSS
$custom: #338b9e;
$custom-light: #78adba;
$custom-dark: #000000;
JSON
{
  "hex": "#338b9e",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 158
  },
  "hsl": {
    "h": 190.654,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.59253,
    "c": 0.08667,
    "h": 214.8
  },
  "luminance": 0.21638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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