#337DA2#337DA2

#337DA2 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.0% C 0.092 H 233.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#337DA2
RGBrgb(51, 125, 162)
HSLhsl(200, 52%, 42%)
HSVhsv(200, 69%, 64%)
CMYKcmyk(68.5%, 22.8%, 0%, 36.5%)
CIE-LABlab(49.47, -10.69, -26.49)
CIE-LCHlch(49.47, 28.57, 248.02°)
OKLaboklab(55.97% -0.0547 -0.0743)
OKLCHoklch(55.97% 0.092 233.7)
XYZxyz(15.2179, 17.9780, 36.8435)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DA2 #A25833
analogous
#33A290 #337DA2 #3346A2
triadic
#337DA2 #A2337D #7DA233
tetradic
#337DA2 #9033A2 #A25833 #46A233
square
#337DA2 #9033A2 #A25833 #46A233
split-complementary
#337DA2 #A23346 #A29033
monochromatic
#163545 #245973 #337DA2 #4C9EC7 #7AB7D5

Accessibility & contrast

On white

4.57
#337DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#337DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DA2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DA2#FFFFFF#000000##000000
##337DA21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7CA4
Deuteranopia (green-blind)
#5C71A1
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337da2;
/* rgb */ color: rgb(51, 125, 162);
/* oklch */ color: oklch(56.0% 0.092 233.7);
Tailwind
colors: {
  custom: {
    50: '#78a2bd',
    500: '#337da2',
    950: '#000000',
  },
}
SCSS
$custom: #337da2;
$custom-light: #78a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#337da2",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 200,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55971,
    "c": 0.0923,
    "h": 233.7
  },
  "luminance": 0.1798
}

Semantic roles & 50–950 ramp

primary
#337DA2
secondary
#BE8C73
accent
#7C4CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #337DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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