#337198#337198

#337198 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.5% C 0.089 H 239.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#337198
RGBrgb(51, 113, 152)
HSLhsl(203, 50%, 40%)
HSVhsv(203, 66%, 60%)
CMYKcmyk(66.4%, 25.7%, 0%, 40.4%)
CIE-LABlab(45.33, -7.17, -27.05)
CIE-LCHlch(45.33, 27.98, 255.16°)
OKLaboklab(52.54% -0.0453 -0.0761)
OKLCHoklch(52.54% 0.089 239.2)
XYZxyz(12.9357, 14.7797, 31.8707)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337198 #985A33
analogous
#33988C #337198 #333F98
triadic
#337198 #983371 #719833
tetradic
#337198 #8C3398 #985A33 #3F9833
square
#337198 #8C3398 #985A33 #3F9833
split-complementary
#337198 #98333F #988C33
monochromatic
#142D3C #244F6A #337198 #4792C1 #75ADD1

Accessibility & contrast

On white

5.31
#337198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#337198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337198
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337198#FFFFFF#000000##FFFFFF
##3371981.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F719A
Deuteranopia (green-blind)
#516797
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337198;
/* rgb */ color: rgb(51, 113, 152);
/* oklch */ color: oklch(52.5% 0.089 239.2);
Tailwind
colors: {
  custom: {
    50: '#7699b6',
    500: '#337198',
    950: '#000000',
  },
}
SCSS
$custom: #337198;
$custom-light: #7699b6;
$custom-dark: #000000;
JSON
{
  "hex": "#337198",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 152
  },
  "hsl": {
    "h": 203.168,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52537,
    "c": 0.08853,
    "h": 239.2
  },
  "luminance": 0.14781
}

Semantic roles & 50–950 ramp

primary
#337198
secondary
#B98B6E
accent
#844FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337198

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

Preview Lab → · Contrast checker → · Palette generator →

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