#338DA5#338DA5

#338DA5 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.0% C 0.091 H 219.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#338DA5
RGBrgb(51, 141, 165)
HSLhsl(193, 53%, 42%)
HSVhsv(193, 69%, 65%)
CMYKcmyk(69.1%, 14.5%, 0%, 35.3%)
CIE-LABlab(54.52, -18.55, -20.44)
CIE-LCHlch(54.52, 27.61, 227.78°)
OKLaboklab(60.05% -0.0705 -0.057)
OKLCHoklch(60.05% 0.091 219)
XYZxyz(17.6788, 22.4682, 38.9951)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338DA5 #A54B33
analogous
#33A584 #338DA5 #3354A5
triadic
#338DA5 #A5338D #8DA533
tetradic
#338DA5 #8433A5 #A54B33 #54A533
square
#338DA5 #8433A5 #A54B33 #54A533
split-complementary
#338DA5 #A53354 #A58433
monochromatic
#163D48 #256576 #338DA5 #4DAEC8 #7CC3D6

Accessibility & contrast

On white

3.82
#338DA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#338DA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338DA5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338DA5#FFFFFF#000000##000000
##338DA51.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E89A6
Deuteranopia (green-blind)
#6E7DA5
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338da5;
/* rgb */ color: rgb(51, 141, 165);
/* oklch */ color: oklch(60.0% 0.091 219.0);
Tailwind
colors: {
  custom: {
    50: '#79aebf',
    500: '#338da5',
    950: '#000000',
  },
}
SCSS
$custom: #338da5;
$custom-light: #79aebf;
$custom-dark: #000000;
JSON
{
  "hex": "#338da5",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 165
  },
  "hsl": {
    "h": 192.632,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60049,
    "c": 0.09064,
    "h": 219
  },
  "luminance": 0.2247
}

Semantic roles & 50–950 ramp

primary
#338DA5
secondary
#BF8475
accent
#6A4CDC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #338DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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