#338699#338699

#338699 is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 57.8% C 0.084 H 215.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#338699
RGBrgb(51, 134, 153)
HSLhsl(191, 50%, 40%)
HSVhsv(191, 67%, 60%)
CMYKcmyk(66.7%, 12.4%, 0%, 40%)
CIE-LABlab(51.90, -18.68, -17.52)
CIE-LCHlch(51.90, 25.61, 223.17°)
OKLaboklab(57.79% -0.0679 -0.0487)
OKLCHoklch(57.79% 0.084 215.7)
XYZxyz(15.6377, 20.0522, 33.1771)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338699 #994633
analogous
#339979 #338699 #335399
triadic
#338699 #993386 #869933
tetradic
#338699 #793399 #994633 #539933
square
#338699 #793399 #994633 #539933
split-complementary
#338699 #993353 #997933
monochromatic
#14363D #245E6B #338699 #47ABC2 #75C0D1

Accessibility & contrast

On white

4.19
#338699 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#338699 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338699
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338699#FFFFFF#000000##000000
##3386991.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79829A
Deuteranopia (green-blind)
#6A7799
Tritanopia (blue-blind)
#008D8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338699;
/* rgb */ color: rgb(51, 134, 153);
/* oklch */ color: oklch(57.8% 0.084 215.7);
Tailwind
colors: {
  custom: {
    50: '#77a9b7',
    500: '#338699',
    950: '#000000',
  },
}
SCSS
$custom: #338699;
$custom-light: #77a9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#338699",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 153
  },
  "hsl": {
    "h": 191.176,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.57792,
    "c": 0.08357,
    "h": 215.7
  },
  "luminance": 0.20054
}

Semantic roles & 50–950 ramp

primary
#338699
secondary
#B97C6E
accent
#684EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338699

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

Preview Lab → · Contrast checker → · Palette generator →

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