#337EC8#337EC8

#337EC8 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.3% C 0.136 H 251.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#337EC8
RGBrgb(51, 126, 200)
HSLhsl(210, 59%, 49%)
HSVhsv(210, 75%, 78%)
CMYKcmyk(74.5%, 37%, 0%, 21.6%)
CIE-LABlab(51.60, 2.23, -45.04)
CIE-LCHlch(51.60, 45.10, 272.83°)
OKLaboklab(58.26% -0.0439 -0.1283)
OKLCHoklch(58.26% 0.136 251.1)
XYZxyz(19.2475, 19.7934, 57.4385)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EC8 #C87D33
analogous
#33C8C8 #337EC8 #3333C8
triadic
#337EC8 #C8337E #7EC833
tetradic
#337EC8 #C833C8 #C87D33 #33C833
square
#337EC8 #C833C8 #C87D33 #33C833
split-complementary
#337EC8 #C83333 #C8C833
monochromatic
#1A4166 #275F97 #337EC8 #619CD7 #92BBE3

Accessibility & contrast

On white

4.23
#337EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#337EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EC8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EC8#FFFFFF#000000##000000
##337EC81.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CB
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#009099
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #337ec8;
/* rgb */ color: rgb(51, 126, 200);
/* oklch */ color: oklch(58.3% 0.136 251.1);
Tailwind
colors: {
  custom: {
    50: '#7ea2d9',
    500: '#337ec8',
    950: '#000000',
  },
}
SCSS
$custom: #337ec8;
$custom-light: #7ea2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#337ec8",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 209.799,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58257,
    "c": 0.1356,
    "h": 251.1
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#337EC8
secondary
#CEAB89
accent
#9345E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #337EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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