#338DA0#338DA0

#338DA0 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 59.8% C 0.088 H 214.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#338DA0
RGBrgb(51, 141, 160)
HSLhsl(190, 52%, 41%)
HSVhsv(190, 68%, 63%)
CMYKcmyk(68.1%, 11.9%, 0%, 37.3%)
CIE-LABlab(54.33, -20.17, -17.85)
CIE-LCHlch(54.33, 26.93, 221.52°)
OKLaboklab(59.84% -0.0725 -0.0497)
OKLCHoklch(59.84% 0.088 214.4)
XYZxyz(17.2326, 22.2897, 36.6450)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338DA0 #A04633
analogous
#33A07D #338DA0 #3357A0
triadic
#338DA0 #A0338D #8DA033
tetradic
#338DA0 #7D33A0 #A04633 #57A033
square
#338DA0 #7D33A0 #A04633 #57A033
split-complementary
#338DA0 #A03357 #A07D33
monochromatic
#153B43 #246472 #338DA0 #4BB0C6 #79C4D4

Accessibility & contrast

On white

3.85
#338DA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#338DA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338DA0
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338DA0#FFFFFF#000000##000000
##338DA01.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F88A1
Deuteranopia (green-blind)
#707DA0
Tritanopia (blue-blind)
#009493
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338da0;
/* rgb */ color: rgb(51, 141, 160);
/* oklch */ color: oklch(59.8% 0.088 214.4);
Tailwind
colors: {
  custom: {
    50: '#79aebc',
    500: '#338da0',
    950: '#000000',
  },
}
SCSS
$custom: #338da0;
$custom-light: #79aebc;
$custom-dark: #000000;
JSON
{
  "hex": "#338da0",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 160
  },
  "hsl": {
    "h": 190.459,
    "s": 51.659,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59836,
    "c": 0.08789,
    "h": 214.4
  },
  "luminance": 0.22292
}

Semantic roles & 50–950 ramp

primary
#338DA0
secondary
#BD7F72
accent
#664DDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #338DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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