#337CA8#337CA8

#337CA8 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.0% C 0.099 H 238.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#337CA8
RGBrgb(51, 124, 168)
HSLhsl(203, 53%, 43%)
HSVhsv(203, 70%, 66%)
CMYKcmyk(69.6%, 26.2%, 0%, 34.1%)
CIE-LABlab(49.43, -8.04, -30.05)
CIE-LCHlch(49.43, 31.10, 255.02°)
OKLaboklab(56.03% -0.0515 -0.0846)
OKLCHoklch(56.03% 0.099 238.7)
XYZxyz(15.6380, 17.9446, 39.6777)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337CA8 #A85F33
analogous
#33A899 #337CA8 #3341A8
triadic
#337CA8 #A8337C #7CA833
tetradic
#337CA8 #9933A8 #A85F33 #41A833
square
#337CA8 #9933A8 #A85F33 #41A833
split-complementary
#337CA8 #A83341 #A89933
monochromatic
#16374A #255979 #337CA8 #4F9BC9 #7EB6D8

Accessibility & contrast

On white

4.58
#337CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#337CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337CA8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337CA8#FFFFFF#000000##000000
##337CA81.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#677CAA
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337ca8;
/* rgb */ color: rgb(51, 124, 168);
/* oklch */ color: oklch(56.0% 0.099 238.7);
Tailwind
colors: {
  custom: {
    50: '#79a1c2',
    500: '#337ca8',
    950: '#000000',
  },
}
SCSS
$custom: #337ca8;
$custom-light: #79a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#337ca8",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 168
  },
  "hsl": {
    "h": 202.564,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56026,
    "c": 0.09907,
    "h": 238.7
  },
  "luminance": 0.17946
}

Semantic roles & 50–950 ramp

primary
#337CA8
secondary
#C19276
accent
#824BDD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #337CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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