#337EC6#337EC6

#337EC6 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.1% C 0.133 H 250.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#337EC6
RGBrgb(51, 126, 198)
HSLhsl(209, 59%, 49%)
HSVhsv(209, 74%, 78%)
CMYKcmyk(74.2%, 36.4%, 0%, 22.4%)
CIE-LABlab(51.50, 1.50, -44.07)
CIE-LCHlch(51.50, 44.10, 271.94°)
OKLaboklab(58.14% -0.0445 -0.1254)
OKLCHoklch(58.14% 0.133 250.5)
XYZxyz(19.0153, 19.7006, 56.2156)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EC6 #C67B33
analogous
#33C6C5 #337EC6 #3335C6
triadic
#337EC6 #C6337E #7EC633
tetradic
#337EC6 #C533C6 #C67B33 #35C633
square
#337EC6 #C533C6 #C67B33 #35C633
split-complementary
#337EC6 #C63335 #C6C533
monochromatic
#1A4065 #265F95 #337EC6 #609CD6 #91BBE3

Accessibility & contrast

On white

4.25
#337EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#337EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EC6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EC6#FFFFFF#000000##000000
##337EC61.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C9
Deuteranopia (green-blind)
#4775C5
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #337ec6;
/* rgb */ color: rgb(51, 126, 198);
/* oklch */ color: oklch(58.1% 0.133 250.5);
Tailwind
colors: {
  custom: {
    50: '#7ea3d7',
    500: '#337ec6',
    950: '#000000',
  },
}
SCSS
$custom: #337ec6;
$custom-light: #7ea3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#337ec6",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 209.388,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58139,
    "c": 0.13308,
    "h": 250.5
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#337EC6
secondary
#CDAA87
accent
#9246E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #337EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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