#337FAF#337FAF

#337FAF is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.105 H 240.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#337FAF
RGBrgb(51, 127, 175)
HSLhsl(203, 55%, 44%)
HSVhsv(203, 71%, 69%)
CMYKcmyk(70.9%, 27.4%, 0%, 31.4%)
CIE-LABlab(50.66, -7.34, -32.18)
CIE-LCHlch(50.66, 33.01, 257.16°)
OKLaboklab(57.11% -0.0522 -0.0908)
OKLCHoklch(57.11% 0.105 240.1)
XYZxyz(16.6895, 18.9759, 43.3323)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FAF #AF6333
analogous
#33AFA1 #337FAF #3341AF
triadic
#337FAF #AF337F #7FAF33
tetradic
#337FAF #A133AF #AF6333 #41AF33
square
#337FAF #A133AF #AF6333 #41AF33
split-complementary
#337FAF #AF3341 #AFA133
monochromatic
#173A50 #255D80 #337FAF #529DCD #82B8DB

Accessibility & contrast

On white

4.38
#337FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#337FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FAF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FAF#FFFFFF#000000##000000
##337FAF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#697FB1
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #337faf;
/* rgb */ color: rgb(51, 127, 175);
/* oklch */ color: oklch(57.1% 0.105 240.1);
Tailwind
colors: {
  custom: {
    50: '#7aa4c7',
    500: '#337faf',
    950: '#000000',
  },
}
SCSS
$custom: #337faf;
$custom-light: #7aa4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#337faf",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 175
  },
  "hsl": {
    "h": 203.226,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57107,
    "c": 0.10474,
    "h": 240.1
  },
  "luminance": 0.18978
}

Semantic roles & 50–950 ramp

primary
#337FAF
secondary
#C4977A
accent
#834ADE
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #337FAF

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

Preview Lab → · Contrast checker → · Palette generator →

#337FAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva