#337EB4#337EB4

#337EB4 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.111 H 243.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#337EB4
RGBrgb(51, 126, 180)
HSLhsl(205, 56%, 45%)
HSVhsv(205, 72%, 71%)
CMYKcmyk(71.7%, 30%, 0%, 29.4%)
CIE-LABlab(50.59, -4.99, -35.17)
CIE-LCHlch(50.59, 35.53, 261.93°)
OKLaboklab(57.13% -0.0496 -0.0995)
OKLCHoklch(57.13% 0.111 243.5)
XYZxyz(17.0611, 18.9189, 45.9237)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EB4 #B46933
analogous
#33B4A9 #337EB4 #333EB4
triadic
#337EB4 #B4337E #7EB433
tetradic
#337EB4 #A933B4 #B46933 #3EB433
square
#337EB4 #A933B4 #B46933 #3EB433
split-complementary
#337EB4 #B4333E #B4A933
monochromatic
#183B55 #255D84 #337EB4 #559CCF #85B8DC

Accessibility & contrast

On white

4.39
#337EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#337EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EB4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EB4#FFFFFF#000000##000000
##337EB41.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB6
Deuteranopia (green-blind)
#5473B3
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337eb4;
/* rgb */ color: rgb(51, 126, 180);
/* oklch */ color: oklch(57.1% 0.111 243.5);
Tailwind
colors: {
  custom: {
    50: '#7ba3ca',
    500: '#337eb4',
    950: '#000000',
  },
}
SCSS
$custom: #337eb4;
$custom-light: #7ba3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#337eb4",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 180
  },
  "hsl": {
    "h": 205.116,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57131,
    "c": 0.11116,
    "h": 243.5
  },
  "luminance": 0.18921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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