#337187#337187

#337187 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.7% C 0.072 H 224.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#337187
RGBrgb(51, 113, 135)
HSLhsl(196, 45%, 36%)
HSVhsv(196, 62%, 53%)
CMYKcmyk(62.2%, 16.3%, 0%, 47.1%)
CIE-LABlab(44.61, -12.92, -18.07)
CIE-LCHlch(44.61, 22.21, 234.42°)
OKLaboklab(51.72% -0.0518 -0.0503)
OKLCHoklch(51.72% 0.072 224.2)
XYZxyz(11.6418, 14.2622, 25.0563)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337187 #874933
analogous
#338773 #337187 #334787
triadic
#337187 #873371 #718733
tetradic
#337187 #733387 #874933 #478733
square
#337187 #733387 #874933 #478733
split-complementary
#337187 #873347 #877333
monochromatic
#11272E #224C5B #337187 #4496B3 #6DB0C8

Accessibility & contrast

On white

5.45
#337187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#337187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337187
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337187#FFFFFF#000000##FFFFFF
##3371871.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656F88
Deuteranopia (green-blind)
#596687
Tritanopia (blue-blind)
#007878
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #337187;
/* rgb */ color: rgb(51, 113, 135);
/* oklch */ color: oklch(51.7% 0.072 224.2);
Tailwind
colors: {
  custom: {
    50: '#7399aa',
    500: '#337187',
    950: '#000000',
  },
}
SCSS
$custom: #337187;
$custom-light: #7399aa;
$custom-dark: #000000;
JSON
{
  "hex": "#337187",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 135
  },
  "hsl": {
    "h": 195.714,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.51721,
    "c": 0.07219,
    "h": 224.2
  },
  "luminance": 0.14263
}

Semantic roles & 50–950 ramp

primary
#337187
secondary
#B07966
accent
#7553D5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #337187

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

Preview Lab → · Contrast checker → · Palette generator →

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