#337AD4#337AD4

#337AD4 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 58.1% C 0.155 H 256.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#337AD4
RGBrgb(51, 122, 212)
HSLhsl(214, 65%, 52%)
HSVhsv(214, 76%, 83%)
CMYKcmyk(75.9%, 42.5%, 0%, 16.9%)
CIE-LABlab(51.12, 9.08, -52.63)
CIE-LCHlch(51.12, 53.41, 279.79°)
OKLaboklab(58.1% -0.0377 -0.1506)
OKLCHoklch(58.1% 0.155 256)
XYZxyz(20.2040, 19.3740, 64.9493)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AD4 #D48D33
analogous
#33CBD4 #337AD4 #3D33D4
triadic
#337AD4 #D4337A #7AD433
tetradic
#337AD4 #D433CB #D48D33 #33D43D
square
#337AD4 #D433CB #D48D33 #33D43D
split-complementary
#337AD4 #D43D33 #CBD433
monochromatic
#184174 #235DA7 #337AD4 #669BDF #98BCE9

Accessibility & contrast

On white

4.31
#337AD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#337AD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AD4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AD4#FFFFFF#000000##000000
##337AD41.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D82D8
Deuteranopia (green-blind)
#3073D2
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #337ad4;
/* rgb */ color: rgb(51, 122, 212);
/* oklch */ color: oklch(58.1% 0.155 256.0);
Tailwind
colors: {
  custom: {
    50: '#819fe2',
    500: '#337ad4',
    950: '#000000',
  },
}
SCSS
$custom: #337ad4;
$custom-light: #819fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#337ad4",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 212
  },
  "hsl": {
    "h": 213.54,
    "s": 65.182,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58099,
    "c": 0.15525,
    "h": 256
  },
  "luminance": 0.19376
}

Semantic roles & 50–950 ramp

primary
#337AD4
secondary
#D5B68E
accent
#9E40E8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #337AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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