#337ABF#337ABF

#337ABF is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.8% C 0.128 H 250.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#337ABF
RGBrgb(51, 122, 191)
HSLhsl(210, 58%, 47%)
HSVhsv(210, 73%, 75%)
CMYKcmyk(73.3%, 36.1%, 0%, 25.1%)
CIE-LABlab(49.96, 1.37, -42.51)
CIE-LCHlch(49.96, 42.53, 271.84°)
OKLaboklab(56.81% -0.0426 -0.1209)
OKLCHoklch(56.81% 0.128 250.6)
XYZxyz(17.7252, 18.3825, 51.8941)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337ABF #BF7833
analogous
#33BFBE #337ABF #3334BF
triadic
#337ABF #BF337A #7ABF33
tetradic
#337ABF #BE33BF #BF7833 #34BF33
square
#337ABF #BE33BF #BF7833 #34BF33
split-complementary
#337ABF #BF3334 #BFBE33
monochromatic
#193C5E #265B8F #337ABF #5C98D3 #8CB7E0

Accessibility & contrast

On white

4.49
#337ABF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#337ABF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337ABF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337ABF#FFFFFF#000000##000000
##337ABF1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#4671BE
Tritanopia (blue-blind)
#008A93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337abf;
/* rgb */ color: rgb(51, 122, 191);
/* oklch */ color: oklch(56.8% 0.128 250.6);
Tailwind
colors: {
  custom: {
    50: '#7da0d2',
    500: '#337abf',
    950: '#000000',
  },
}
SCSS
$custom: #337abf;
$custom-light: #7da0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#337abf",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 191
  },
  "hsl": {
    "h": 209.571,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56812,
    "c": 0.12819,
    "h": 250.6
  },
  "luminance": 0.18384
}

Semantic roles & 50–950 ramp

primary
#337ABF
secondary
#CBA683
accent
#9347E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #337ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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