#337FB4#337FB4

#337FB4 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.110 H 242.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#337FB4
RGBrgb(51, 127, 180)
HSLhsl(205, 56%, 45%)
HSVhsv(205, 72%, 71%)
CMYKcmyk(71.7%, 29.4%, 0%, 29.4%)
CIE-LABlab(50.89, -5.57, -34.70)
CIE-LCHlch(50.89, 35.15, 260.88°)
OKLaboklab(57.37% -0.0506 -0.0981)
OKLCHoklch(57.37% 0.11 242.7)
XYZxyz(17.1897, 19.1759, 45.9666)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FB4 #B46833
analogous
#33B4A8 #337FB4 #333FB4
triadic
#337FB4 #B4337F #7FB433
tetradic
#337FB4 #A833B4 #B46833 #3FB433
square
#337FB4 #A833B4 #B46833 #3FB433
split-complementary
#337FB4 #B4333F #B4A833
monochromatic
#183C55 #255D84 #337FB4 #559DCF #85B8DC

Accessibility & contrast

On white

4.34
#337FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#337FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FB4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FB4#FFFFFF#000000##000000
##337FB41.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B6
Deuteranopia (green-blind)
#5574B3
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #337fb4;
/* rgb */ color: rgb(51, 127, 180);
/* oklch */ color: oklch(57.4% 0.110 242.7);
Tailwind
colors: {
  custom: {
    50: '#7ba3ca',
    500: '#337fb4',
    950: '#000000',
  },
}
SCSS
$custom: #337fb4;
$custom-light: #7ba3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#337fb4",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 180
  },
  "hsl": {
    "h": 204.651,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57368,
    "c": 0.11038,
    "h": 242.7
  },
  "luminance": 0.19178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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