#337188#337188

#337188 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.8% C 0.073 H 225.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#337188
RGBrgb(51, 113, 136)
HSLhsl(196, 45%, 37%)
HSVhsv(196, 63%, 53%)
CMYKcmyk(62.5%, 16.9%, 0%, 46.7%)
CIE-LABlab(44.65, -12.59, -18.60)
CIE-LCHlch(44.65, 22.46, 235.90°)
OKLaboklab(51.77% -0.0514 -0.0518)
OKLCHoklch(51.77% 0.073 225.3)
XYZxyz(11.7126, 14.2905, 25.4289)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337188 #884A33
analogous
#338875 #337188 #334788
triadic
#337188 #883371 #718833
tetradic
#337188 #753388 #884A33 #478833
square
#337188 #753388 #884A33 #478833
split-complementary
#337188 #883347 #887533
monochromatic
#12272F #224C5B #337188 #4496B5 #6DB0C8

Accessibility & contrast

On white

5.44
#337188 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#337188 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337188
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337188#FFFFFF#000000##FFFFFF
##3371881.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646F89
Deuteranopia (green-blind)
#586688
Tritanopia (blue-blind)
#007878
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #337188;
/* rgb */ color: rgb(51, 113, 136);
/* oklch */ color: oklch(51.8% 0.073 225.3);
Tailwind
colors: {
  custom: {
    50: '#7499aa',
    500: '#337188',
    950: '#000000',
  },
}
SCSS
$custom: #337188;
$custom-light: #7499aa;
$custom-dark: #000000;
JSON
{
  "hex": "#337188",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 136
  },
  "hsl": {
    "h": 196.235,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.07297,
    "h": 225.3
  },
  "luminance": 0.14292
}

Semantic roles & 50–950 ramp

primary
#337188
secondary
#B07B67
accent
#7653D5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #337188

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

Preview Lab → · Contrast checker → · Palette generator →

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