#338397#338397

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

Color values

HEX#338397
RGBrgb(51, 131, 151)
HSLhsl(192, 50%, 40%)
HSVhsv(192, 66%, 59%)
CMYKcmyk(66.2%, 13.2%, 0%, 40.8%)
CIE-LABlab(50.88, -17.70, -17.90)
CIE-LCHlch(50.88, 25.18, 225.32°)
OKLaboklab(56.96% -0.0654 -0.0498)
OKLCHoklch(56.96% 0.082 217.3)
XYZxyz(15.0652, 19.1692, 32.1782)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338397 #974733
analogous
#339779 #338397 #335197
triadic
#338397 #973383 #839733
tetradic
#338397 #793397 #974733 #519733
square
#338397 #793397 #974733 #519733
split-complementary
#338397 #973351 #977933
monochromatic
#14343C #245B69 #338397 #47A8C1 #74BED0

Accessibility & contrast

On white

4.34
#338397 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#338397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338397
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338397#FFFFFF#000000##000000
##3383971.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#767F98
Deuteranopia (green-blind)
#677597
Tritanopia (blue-blind)
#008A89
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338397;
/* rgb */ color: rgb(51, 131, 151);
/* oklch */ color: oklch(57.0% 0.082 217.3);
Tailwind
colors: {
  custom: {
    50: '#77a7b5',
    500: '#338397',
    950: '#000000',
  },
}
SCSS
$custom: #338397;
$custom-light: #77a7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#338397",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 151
  },
  "hsl": {
    "h": 192,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.56955,
    "c": 0.08225,
    "h": 217.3
  },
  "luminance": 0.19171
}

Semantic roles & 50–950 ramp

primary
#338397
secondary
#B87C6D
accent
#6A4FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #338397

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

Preview Lab → · Contrast checker → · Palette generator →

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