#338CAC#338CAC

#338CAC is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.1% C 0.096 H 225.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#338CAC
RGBrgb(51, 140, 172)
HSLhsl(196, 54%, 44%)
HSVhsv(196, 70%, 67%)
CMYKcmyk(70.3%, 18.6%, 0%, 32.5%)
CIE-LABlab(54.49, -15.70, -24.51)
CIE-LCHlch(54.49, 29.11, 237.36°)
OKLaboklab(60.11% -0.0667 -0.0686)
OKLCHoklch(60.11% 0.096 225.8)
XYZxyz(18.1867, 22.4365, 42.3939)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338CAC #AC5333
analogous
#33AC8F #338CAC #334FAC
triadic
#338CAC #AC338C #8CAC33
tetradic
#338CAC #8F33AC #AC5333 #4FAC33
square
#338CAC #8F33AC #AC5333 #4FAC33
split-complementary
#338CAC #AC334F #AC8F33
monochromatic
#173F4E #25667D #338CAC #51ABCB #80C2D9

Accessibility & contrast

On white

3.83
#338CAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##338CAC#FFFFFF#000000##000000
##338CAC1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B89AE
Deuteranopia (green-blind)
#6A7DAC
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338cac;
/* rgb */ color: rgb(51, 140, 172);
/* oklch */ color: oklch(60.1% 0.096 225.8);
Tailwind
colors: {
  custom: {
    50: '#7aadc4',
    500: '#338cac',
    950: '#000000',
  },
}
SCSS
$custom: #338cac;
$custom-light: #7aadc4;
$custom-dark: #000000;
JSON
{
  "hex": "#338cac",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 172
  },
  "hsl": {
    "h": 195.868,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.60113,
    "c": 0.09566,
    "h": 225.8
  },
  "luminance": 0.22439
}

Semantic roles & 50–950 ramp

primary
#338CAC
secondary
#C28C78
accent
#714ADE
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #338CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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