#338CC0#338CC0

#338CC0 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.1% C 0.114 H 238.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#338CC0
RGBrgb(51, 140, 192)
HSLhsl(202, 58%, 48%)
HSVhsv(202, 73%, 75%)
CMYKcmyk(73.4%, 27.1%, 0%, 24.7%)
CIE-LABlab(55.34, -8.86, -34.60)
CIE-LCHlch(55.34, 35.72, 255.63°)
OKLaboklab(61.08% -0.0595 -0.0977)
OKLCHoklch(61.08% 0.114 238.6)
XYZxyz(20.2540, 23.2634, 53.2818)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338CC0 #C06733
analogous
#33C0AE #338CC0 #3345C0
triadic
#338CC0 #C0338C #8CC033
tetradic
#338CC0 #AE33C0 #C06733 #45C033
square
#338CC0 #AE33C0 #C06733 #45C033
split-complementary
#338CC0 #C03345 #C0AE33
monochromatic
#19455F #266990 #338CC0 #5CA8D4 #8DC2E1

Accessibility & contrast

On white

3.71
#338CC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#338CC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338CC0
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338CC0#FFFFFF#000000##000000
##338CC01.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#748CC2
Deuteranopia (green-blind)
#607FBF
Tritanopia (blue-blind)
#00999E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #338cc0;
/* rgb */ color: rgb(51, 140, 192);
/* oklch */ color: oklch(61.1% 0.114 238.6);
Tailwind
colors: {
  custom: {
    50: '#7dadd3',
    500: '#338cc0',
    950: '#000000',
  },
}
SCSS
$custom: #338cc0;
$custom-light: #7dadd3;
$custom-dark: #000000;
JSON
{
  "hex": "#338cc0",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 192
  },
  "hsl": {
    "h": 202.128,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.61077,
    "c": 0.11437,
    "h": 238.6
  },
  "luminance": 0.23266
}

Semantic roles & 50–950 ramp

primary
#338CC0
secondary
#CB9E84
accent
#8047E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #338CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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