#337FB1#337FB1

#337FB1 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.2% C 0.107 H 241.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#337FB1
RGBrgb(51, 127, 177)
HSLhsl(204, 55%, 45%)
HSVhsv(204, 71%, 69%)
CMYKcmyk(71.2%, 28.2%, 0%, 30.6%)
CIE-LABlab(50.75, -6.63, -33.19)
CIE-LCHlch(50.75, 33.85, 258.70°)
OKLaboklab(57.21% -0.0516 -0.0937)
OKLCHoklch(57.21% 0.107 241.2)
XYZxyz(16.8874, 19.0550, 44.3744)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FB1 #B16533
analogous
#33B1A4 #337FB1 #3340B1
triadic
#337FB1 #B1337F #7FB133
tetradic
#337FB1 #A433B1 #B16533 #40B133
square
#337FB1 #A433B1 #B16533 #40B133
split-complementary
#337FB1 #B13340 #B1A433
monochromatic
#183B52 #255D81 #337FB1 #549DCE #83B8DB

Accessibility & contrast

On white

4.36
#337FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#337FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FB1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FB1#FFFFFF#000000##000000
##337FB11.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6880B3
Deuteranopia (green-blind)
#5773B0
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #337fb1;
/* rgb */ color: rgb(51, 127, 177);
/* oklch */ color: oklch(57.2% 0.107 241.2);
Tailwind
colors: {
  custom: {
    50: '#7aa4c8',
    500: '#337fb1',
    950: '#000000',
  },
}
SCSS
$custom: #337fb1;
$custom-light: #7aa4c8;
$custom-dark: #000000;
JSON
{
  "hex": "#337fb1",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 177
  },
  "hsl": {
    "h": 203.81,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5721,
    "c": 0.10697,
    "h": 241.2
  },
  "luminance": 0.19057
}

Semantic roles & 50–950 ramp

primary
#337FB1
secondary
#C5987B
accent
#8449DF
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #337FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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