#338497#338497

#338497 is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.2% C 0.082 H 216.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#338497
RGBrgb(51, 132, 151)
HSLhsl(191, 50%, 40%)
HSVhsv(191, 66%, 59%)
CMYKcmyk(66.2%, 12.6%, 0%, 40.8%)
CIE-LABlab(51.20, -18.24, -17.42)
CIE-LCHlch(51.20, 25.23, 223.68°)
OKLaboklab(57.21% -0.0665 -0.0485)
OKLCHoklch(57.21% 0.082 216.1)
XYZxyz(15.2001, 19.4391, 32.2232)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338497 #974633
analogous
#339778 #338497 #335297
triadic
#338497 #973384 #849733
tetradic
#338497 #783397 #974633 #529733
square
#338497 #783397 #974633 #529733
split-complementary
#338497 #973352 #977833
monochromatic
#14343C #245C69 #338497 #47A9C1 #74BFD0

Accessibility & contrast

On white

4.30
#338497 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#338497 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338497
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338497#FFFFFF#000000##000000
##3384971.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#778098
Deuteranopia (green-blind)
#697597
Tritanopia (blue-blind)
#008B8A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338497;
/* rgb */ color: rgb(51, 132, 151);
/* oklch */ color: oklch(57.2% 0.082 216.1);
Tailwind
colors: {
  custom: {
    50: '#77a8b5',
    500: '#338497',
    950: '#000000',
  },
}
SCSS
$custom: #338497;
$custom-light: #77a8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#338497",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 151
  },
  "hsl": {
    "h": 191.4,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57206,
    "c": 0.08233,
    "h": 216.1
  },
  "luminance": 0.19441
}

Semantic roles & 50–950 ramp

primary
#338497
secondary
#B87C6D
accent
#694FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #338497

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

Preview Lab → · Contrast checker → · Palette generator →

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