#338495#338495

#338495 is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.1% C 0.081 H 214.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#338495
RGBrgb(51, 132, 149)
HSLhsl(190, 49%, 39%)
HSVhsv(190, 66%, 58%)
CMYKcmyk(65.8%, 11.4%, 0%, 41.6%)
CIE-LABlab(51.12, -18.89, -16.37)
CIE-LCHlch(51.12, 24.99, 220.92°)
OKLaboklab(57.12% -0.0674 -0.0455)
OKLCHoklch(57.12% 0.081 214)
XYZxyz(15.0391, 19.3746, 31.3750)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338495 #954433
analogous
#339575 #338495 #335395
triadic
#338495 #953384 #849533
tetradic
#338495 #753395 #954433 #539533
square
#338495 #753395 #954433 #539533
split-complementary
#338495 #953353 #957533
monochromatic
#14333A #235C67 #338495 #46AAC0 #73BFCF

Accessibility & contrast

On white

4.31
#338495 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#338495 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338495
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338495#FFFFFF#000000##000000
##3384951.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#788096
Deuteranopia (green-blind)
#697595
Tritanopia (blue-blind)
#008B89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338495;
/* rgb */ color: rgb(51, 132, 149);
/* oklch */ color: oklch(57.1% 0.081 214.0);
Tailwind
colors: {
  custom: {
    50: '#77a8b4',
    500: '#338495',
    950: '#000000',
  },
}
SCSS
$custom: #338495;
$custom-light: #77a8b4;
$custom-dark: #000000;
JSON
{
  "hex": "#338495",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 149
  },
  "hsl": {
    "h": 190.408,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57121,
    "c": 0.0813,
    "h": 214
  },
  "luminance": 0.19376
}

Semantic roles & 50–950 ramp

primary
#338495
secondary
#B7796C
accent
#674FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #338495

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

Preview Lab → · Contrast checker → · Palette generator →

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