#337FB7#337FB7

#337FB7 is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.5% C 0.114 H 244.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#337FB7
RGBrgb(51, 127, 183)
HSLhsl(205, 56%, 46%)
HSVhsv(205, 72%, 72%)
CMYKcmyk(72.1%, 30.6%, 0%, 28.2%)
CIE-LABlab(51.04, -4.51, -36.20)
CIE-LCHlch(51.04, 36.48, 262.90°)
OKLaboklab(57.53% -0.0497 -0.1025)
OKLCHoklch(57.53% 0.114 244.1)
XYZxyz(17.4986, 19.2995, 47.5935)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FB7 #B76B33
analogous
#33B7AD #337FB7 #333DB7
triadic
#337FB7 #B7337F #7FB733
tetradic
#337FB7 #AD33B7 #B76B33 #3DB733
square
#337FB7 #AD33B7 #B76B33 #3DB733
split-complementary
#337FB7 #B7333D #B7AD33
monochromatic
#183D57 #265E87 #337FB7 #579DD0 #87B9DE

Accessibility & contrast

On white

4.32
#337FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#337FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FB7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FB7#FFFFFF#000000##000000
##337FB71.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580B9
Deuteranopia (green-blind)
#5374B6
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #337fb7;
/* rgb */ color: rgb(51, 127, 183);
/* oklch */ color: oklch(57.5% 0.114 244.1);
Tailwind
colors: {
  custom: {
    50: '#7ba3cd',
    500: '#337fb7',
    950: '#000000',
  },
}
SCSS
$custom: #337fb7;
$custom-light: #7ba3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#337fb7",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 183
  },
  "hsl": {
    "h": 205.455,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57529,
    "c": 0.11387,
    "h": 244.1
  },
  "luminance": 0.19301
}

Semantic roles & 50–950 ramp

primary
#337FB7
secondary
#C79D7F
accent
#8848E0
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #337FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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