#337FB3#337FB3

#337FB3 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.109 H 242.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#337FB3
RGBrgb(51, 127, 179)
HSLhsl(204, 56%, 45%)
HSVhsv(204, 72%, 70%)
CMYKcmyk(71.5%, 29.1%, 0%, 29.8%)
CIE-LABlab(50.85, -5.93, -34.20)
CIE-LCHlch(50.85, 34.71, 260.17°)
OKLaboklab(57.32% -0.0509 -0.0966)
OKLCHoklch(57.32% 0.109 242.2)
XYZxyz(17.0882, 19.1353, 45.4320)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FB3 #B36733
analogous
#33B3A7 #337FB3 #333FB3
triadic
#337FB3 #B3337F #7FB333
tetradic
#337FB3 #A733B3 #B36733 #3FB333
square
#337FB3 #A733B3 #B36733 #3FB333
split-complementary
#337FB3 #B3333F #B3A733
monochromatic
#183B54 #255D83 #337FB3 #559DCE #84B8DC

Accessibility & contrast

On white

4.35
#337FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#337FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FB3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FB3#FFFFFF#000000##000000
##337FB31.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B5
Deuteranopia (green-blind)
#5674B2
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #337fb3;
/* rgb */ color: rgb(51, 127, 179);
/* oklch */ color: oklch(57.3% 0.109 242.2);
Tailwind
colors: {
  custom: {
    50: '#7ba3ca',
    500: '#337fb3',
    950: '#000000',
  },
}
SCSS
$custom: #337fb3;
$custom-light: #7ba3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#337fb3",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 179
  },
  "hsl": {
    "h": 204.375,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57315,
    "c": 0.10923,
    "h": 242.2
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

primary
#337FB3
secondary
#C69A7C
accent
#8649DF
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #337FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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