#337BAF#337BAF

#337BAF is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.2% C 0.108 H 243.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#337BAF
RGBrgb(51, 123, 175)
HSLhsl(205, 55%, 44%)
HSVhsv(205, 71%, 69%)
CMYKcmyk(70.9%, 29.7%, 0%, 31.4%)
CIE-LABlab(49.45, -4.99, -34.07)
CIE-LCHlch(49.45, 34.44, 261.67°)
OKLaboklab(56.15% -0.0482 -0.0963)
OKLCHoklch(56.15% 0.108 243.4)
XYZxyz(16.1831, 17.9631, 43.1635)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BAF #AF6733
analogous
#33AFA5 #337BAF #333DAF
triadic
#337BAF #AF337B #7BAF33
tetradic
#337BAF #A533AF #AF6733 #3DAF33
square
#337BAF #A533AF #AF6733 #3DAF33
split-complementary
#337BAF #AF333D #AFA533
monochromatic
#173850 #255A80 #337BAF #5299CD #82B5DB

Accessibility & contrast

On white

4.57
#337BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#337BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337BAF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BAF#FFFFFF#000000##000000
##337BAF1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#637CB1
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337baf;
/* rgb */ color: rgb(51, 123, 175);
/* oklch */ color: oklch(56.2% 0.108 243.4);
Tailwind
colors: {
  custom: {
    50: '#7aa1c7',
    500: '#337baf',
    950: '#000000',
  },
}
SCSS
$custom: #337baf;
$custom-light: #7aa1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#337baf",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 205.161,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56151,
    "c": 0.10768,
    "h": 243.4
  },
  "luminance": 0.17965
}

Semantic roles & 50–950 ramp

primary
#337BAF
secondary
#C4997A
accent
#884ADE
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #337BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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