#337197#337197

#337197 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.5% C 0.087 H 238.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#337197
RGBrgb(51, 113, 151)
HSLhsl(203, 50%, 40%)
HSVhsv(203, 66%, 59%)
CMYKcmyk(66.2%, 25.2%, 0%, 40.8%)
CIE-LABlab(45.29, -7.52, -26.53)
CIE-LCHlch(45.29, 27.57, 254.18°)
OKLaboklab(52.49% -0.0457 -0.0745)
OKLCHoklch(52.49% 0.087 238.5)
XYZxyz(12.8541, 14.7471, 31.4412)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337197 #975933
analogous
#33978B #337197 #333F97
triadic
#337197 #973371 #719733
tetradic
#337197 #8B3397 #975933 #3F9733
square
#337197 #8B3397 #975933 #3F9733
split-complementary
#337197 #97333F #978B33
monochromatic
#142D3C #244F69 #337197 #4792C1 #74ADD0

Accessibility & contrast

On white

5.32
#337197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#337197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337197
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337197#FFFFFF#000000##FFFFFF
##3371971.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337197;
/* rgb */ color: rgb(51, 113, 151);
/* oklch */ color: oklch(52.5% 0.087 238.5);
Tailwind
colors: {
  custom: {
    50: '#7699b5',
    500: '#337197',
    950: '#000000',
  },
}
SCSS
$custom: #337197;
$custom-light: #7699b5;
$custom-dark: #000000;
JSON
{
  "hex": "#337197",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 151
  },
  "hsl": {
    "h": 202.8,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.08743,
    "h": 238.5
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#337197
secondary
#B88A6D
accent
#834FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337197

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

Preview Lab → · Contrast checker → · Palette generator →

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