#337CB4#337CB4

#337CB4 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.7% C 0.113 H 245.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#337CB4
RGBrgb(51, 124, 180)
HSLhsl(206, 56%, 45%)
HSVhsv(206, 72%, 71%)
CMYKcmyk(71.7%, 31.1%, 0%, 29.4%)
CIE-LABlab(49.99, -3.80, -36.12)
CIE-LCHlch(49.99, 36.31, 263.99°)
OKLaboklab(56.66% -0.0476 -0.1022)
OKLCHoklch(56.66% 0.113 245)
XYZxyz(16.8080, 18.4125, 45.8393)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337CB4 #B46B33
analogous
#33B4AC #337CB4 #333BB4
triadic
#337CB4 #B4337C #7CB433
tetradic
#337CB4 #AC33B4 #B46B33 #3BB433
square
#337CB4 #AC33B4 #B46B33 #3BB433
split-complementary
#337CB4 #B4333B #B4AC33
monochromatic
#183A55 #255B84 #337CB4 #559ACF #85B6DC

Accessibility & contrast

On white

4.48
#337CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##337CB4#FFFFFF#000000##000000
##337CB41.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#637EB6
Deuteranopia (green-blind)
#5171B3
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337cb4;
/* rgb */ color: rgb(51, 124, 180);
/* oklch */ color: oklch(56.7% 0.113 245.0);
Tailwind
colors: {
  custom: {
    50: '#7ba1ca',
    500: '#337cb4',
    950: '#000000',
  },
}
SCSS
$custom: #337cb4;
$custom-light: #7ba1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#337cb4",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 180
  },
  "hsl": {
    "h": 206.047,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56657,
    "c": 0.11278,
    "h": 245
  },
  "luminance": 0.18414
}

Semantic roles & 50–950 ramp

primary
#337CB4
secondary
#C69D7D
accent
#8A49DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #337CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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