#337FCA#337FCA

#337FCA is a mid, vivid cyan. Relative luminance 0.201; OKLCH L 58.6% C 0.137 H 251.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#337FCA
RGBrgb(51, 127, 202)
HSLhsl(210, 60%, 50%)
HSVhsv(210, 75%, 79%)
CMYKcmyk(74.8%, 37.1%, 0%, 20.8%)
CIE-LABlab(52.00, 2.35, -45.55)
CIE-LCHlch(52.00, 45.61, 272.95°)
OKLaboklab(58.6% -0.0443 -0.1298)
OKLCHoklch(58.6% 0.137 251.1)
XYZxyz(19.6113, 20.1446, 58.7204)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FCA #CA7E33
analogous
#33CACA #337FCA #3334CA
triadic
#337FCA #CA337F #7FCA33
tetradic
#337FCA #CA33CA #CA7E33 #34CA33
square
#337FCA #CA33CA #CA7E33 #34CA33
split-complementary
#337FCA #CA3334 #CACA33
monochromatic
#1A4268 #276099 #337FCA #639DD8 #94BCE4

Accessibility & contrast

On white

4.18
#337FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#337FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FCA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FCA#FFFFFF#000000##000000
##337FCA1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CD
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #337fca;
/* rgb */ color: rgb(51, 127, 202);
/* oklch */ color: oklch(58.6% 0.137 251.1);
Tailwind
colors: {
  custom: {
    50: '#7fa3da',
    500: '#337fca',
    950: '#000000',
  },
}
SCSS
$custom: #337fca;
$custom-light: #7fa3da;
$custom-dark: #000000;
JSON
{
  "hex": "#337fca",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 209.801,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58602,
    "c": 0.13712,
    "h": 251.1
  },
  "luminance": 0.20147
}

Semantic roles & 50–950 ramp

primary
#337FCA
secondary
#CFAC8A
accent
#9345E3
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #337FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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