#338399#338399

#338399 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.0% C 0.083 H 219.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#338399
RGBrgb(51, 131, 153)
HSLhsl(193, 50%, 40%)
HSVhsv(193, 67%, 60%)
CMYKcmyk(66.7%, 14.4%, 0%, 40%)
CIE-LABlab(50.96, -17.05, -18.95)
CIE-LCHlch(50.96, 25.49, 228.01°)
OKLaboklab(57.04% -0.0646 -0.0528)
OKLCHoklch(57.04% 0.083 219.2)
XYZxyz(15.2290, 19.2347, 33.0409)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338399 #994933
analogous
#33997C #338399 #335099
triadic
#338399 #993383 #839933
tetradic
#338399 #7C3399 #994933 #509933
square
#338399 #7C3399 #994933 #509933
split-complementary
#338399 #993350 #997C33
monochromatic
#14343D #245C6B #338399 #47A7C2 #75BDD1

Accessibility & contrast

On white

4.33
#338399 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#338399 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338399
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338399#FFFFFF#000000##000000
##3383991.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#757F9A
Deuteranopia (green-blind)
#677599
Tritanopia (blue-blind)
#008A8A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338399;
/* rgb */ color: rgb(51, 131, 153);
/* oklch */ color: oklch(57.0% 0.083 219.2);
Tailwind
colors: {
  custom: {
    50: '#77a7b7',
    500: '#338399',
    950: '#000000',
  },
}
SCSS
$custom: #338399;
$custom-light: #77a7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#338399",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 153
  },
  "hsl": {
    "h": 192.941,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.57041,
    "c": 0.08344,
    "h": 219.2
  },
  "luminance": 0.19236
}

Semantic roles & 50–950 ramp

primary
#338399
secondary
#B97F6E
accent
#6C4EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #338399

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

Preview Lab → · Contrast checker → · Palette generator →

#338399 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva