#338698#338698

#338698 is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 57.8% C 0.083 H 214.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#338698
RGBrgb(51, 134, 152)
HSLhsl(191, 50%, 40%)
HSVhsv(191, 66%, 60%)
CMYKcmyk(66.4%, 11.8%, 0%, 40.4%)
CIE-LABlab(51.86, -19.00, -17.00)
CIE-LCHlch(51.86, 25.49, 221.82°)
OKLaboklab(57.75% -0.0683 -0.0473)
OKLCHoklch(57.75% 0.083 214.7)
XYZxyz(15.5555, 20.0193, 32.7440)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338698 #984533
analogous
#339878 #338698 #335498
triadic
#338698 #983386 #869833
tetradic
#338698 #783398 #984533 #549833
square
#338698 #783398 #984533 #549833
split-complementary
#338698 #983354 #987833
monochromatic
#14353C #245E6A #338698 #47ABC1 #75C0D1

Accessibility & contrast

On white

4.20
#338698 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#338698 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338698
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338698#FFFFFF#000000##000000
##3386981.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#798299
Deuteranopia (green-blind)
#6B7798
Tritanopia (blue-blind)
#008D8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338698;
/* rgb */ color: rgb(51, 134, 152);
/* oklch */ color: oklch(57.8% 0.083 214.7);
Tailwind
colors: {
  custom: {
    50: '#77a9b6',
    500: '#338698',
    950: '#000000',
  },
}
SCSS
$custom: #338698;
$custom-light: #77a9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#338698",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 152
  },
  "hsl": {
    "h": 190.693,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5775,
    "c": 0.08306,
    "h": 214.7
  },
  "luminance": 0.20021
}

Semantic roles & 50–950 ramp

primary
#338698
secondary
#B97B6E
accent
#674FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338698

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

Preview Lab → · Contrast checker → · Palette generator →

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