#337FC5#337FC5

#337FC5 is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.131 H 249.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#337FC5
RGBrgb(51, 127, 197)
HSLhsl(209, 59%, 49%)
HSVhsv(209, 74%, 77%)
CMYKcmyk(74.1%, 35.5%, 0%, 22.7%)
CIE-LABlab(51.74, 0.53, -43.12)
CIE-LCHlch(51.74, 43.12, 270.71°)
OKLaboklab(58.31% -0.0456 -0.1226)
OKLCHoklch(58.31% 0.131 249.6)
XYZxyz(19.0288, 19.9116, 55.6529)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FC5 #C57933
analogous
#33C5C2 #337FC5 #3336C5
triadic
#337FC5 #C5337F #7FC533
tetradic
#337FC5 #C233C5 #C57933 #36C533
square
#337FC5 #C233C5 #C57933 #36C533
split-complementary
#337FC5 #C53336 #C5C233
monochromatic
#1A4064 #266094 #337FC5 #5F9DD6 #90BBE2

Accessibility & contrast

On white

4.21
#337FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#337FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FC5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FC5#FFFFFF#000000##000000
##337FC51.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F83C8
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#009099
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #337fc5;
/* rgb */ color: rgb(51, 127, 197);
/* oklch */ color: oklch(58.3% 0.131 249.6);
Tailwind
colors: {
  custom: {
    50: '#7ea3d7',
    500: '#337fc5',
    950: '#000000',
  },
}
SCSS
$custom: #337fc5;
$custom-light: #7ea3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#337fc5",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 197
  },
  "hsl": {
    "h": 208.767,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5831,
    "c": 0.13086,
    "h": 249.6
  },
  "luminance": 0.19914
}

Semantic roles & 50–950 ramp

primary
#337FC5
secondary
#CDA887
accent
#9146E2
background
#F8FAFD
surface
#EFF3FA
border
#CACDD3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #337FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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