#337FB5#337FB5

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

Color values

HEX#337FB5
RGBrgb(51, 127, 181)
HSLhsl(205, 56%, 45%)
HSVhsv(205, 72%, 71%)
CMYKcmyk(71.8%, 29.8%, 0%, 29%)
CIE-LABlab(50.94, -5.22, -35.20)
CIE-LCHlch(50.94, 35.59, 261.57°)
OKLaboklab(57.42% -0.0503 -0.0995)
OKLCHoklch(57.42% 0.112 243.2)
XYZxyz(17.2919, 19.2168, 46.5050)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FB5 #B56933
analogous
#33B5AA #337FB5 #333EB5
triadic
#337FB5 #B5337F #7FB533
tetradic
#337FB5 #AA33B5 #B56933 #3EB533
square
#337FB5 #AA33B5 #B56933 #3EB533
split-complementary
#337FB5 #B5333E #B5AA33
monochromatic
#183C56 #265D85 #337FB5 #569DCF #86B9DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337FB5#FFFFFF#000000##000000
##337FB51.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)
#6680B7
Deuteranopia (green-blind)
#5474B4
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #337fb5;
/* rgb */ color: rgb(51, 127, 181);
/* oklch */ color: oklch(57.4% 0.112 243.2);
Tailwind
colors: {
  custom: {
    50: '#7ba3cb',
    500: '#337fb5',
    950: '#000000',
  },
}
SCSS
$custom: #337fb5;
$custom-light: #7ba3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#337fb5",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 181
  },
  "hsl": {
    "h": 204.923,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57421,
    "c": 0.11154,
    "h": 243.2
  },
  "luminance": 0.19219
}

Semantic roles & 50–950 ramp

primary
#337FB5
secondary
#C69C7D
accent
#8748DF
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #337FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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