#338598#338598

#338598 is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 57.5% C 0.083 H 215.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#338598
RGBrgb(51, 133, 152)
HSLhsl(191, 50%, 40%)
HSVhsv(191, 66%, 60%)
CMYKcmyk(66.4%, 12.5%, 0%, 40.4%)
CIE-LABlab(51.55, -18.46, -17.47)
CIE-LCHlch(51.55, 25.42, 223.42°)
OKLaboklab(57.5% -0.0672 -0.0486)
OKLCHoklch(57.5% 0.083 215.9)
XYZxyz(15.4179, 19.7442, 32.6981)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338598 #984633
analogous
#339879 #338598 #335398
triadic
#338598 #983385 #859833
tetradic
#338598 #793398 #984633 #539833
square
#338598 #793398 #984633 #539833
split-complementary
#338598 #983353 #987933
monochromatic
#14353C #245D6A #338598 #47AAC1 #75BFD1

Accessibility & contrast

On white

4.24
#338598 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#338598 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338598
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338598#FFFFFF#000000##000000
##3385981.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#788199
Deuteranopia (green-blind)
#697698
Tritanopia (blue-blind)
#008C8B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338598;
/* rgb */ color: rgb(51, 133, 152);
/* oklch */ color: oklch(57.5% 0.083 215.9);
Tailwind
colors: {
  custom: {
    50: '#77a8b6',
    500: '#338598',
    950: '#000000',
  },
}
SCSS
$custom: #338598;
$custom-light: #77a8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#338598",
  "rgb": {
    "r": 51,
    "g": 133,
    "b": 152
  },
  "hsl": {
    "h": 191.287,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57499,
    "c": 0.08295,
    "h": 215.9
  },
  "luminance": 0.19746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338598

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

Preview Lab → · Contrast checker → · Palette generator →

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