#337EBA#337EBA

#337EBA is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.5% C 0.118 H 246.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#337EBA
RGBrgb(51, 126, 186)
HSLhsl(207, 57%, 46%)
HSVhsv(207, 73%, 73%)
CMYKcmyk(72.6%, 32.3%, 0%, 27.1%)
CIE-LABlab(50.88, -2.84, -38.17)
CIE-LCHlch(50.88, 38.27, 265.74°)
OKLaboklab(57.46% -0.0478 -0.1082)
OKLCHoklch(57.46% 0.118 246.2)
XYZxyz(17.6856, 19.1687, 49.2127)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EBA #BA6F33
analogous
#33BAB3 #337EBA #333ABA
triadic
#337EBA #BA337E #7EBA33
tetradic
#337EBA #B333BA #BA6F33 #3ABA33
square
#337EBA #B333BA #BA6F33 #3ABA33
split-complementary
#337EBA #BA333A #BAB333
monochromatic
#193D5A #265D8A #337EBA #599CD1 #89B8DF

Accessibility & contrast

On white

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

On black

4.83
#337EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EBA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EBA#FFFFFF#000000##000000
##337EBA1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6380BD
Deuteranopia (green-blind)
#5073B9
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #337eba;
/* rgb */ color: rgb(51, 126, 186);
/* oklch */ color: oklch(57.5% 0.118 246.2);
Tailwind
colors: {
  custom: {
    50: '#7ca3cf',
    500: '#337eba',
    950: '#000000',
  },
}
SCSS
$custom: #337eba;
$custom-light: #7ca3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#337eba",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 186
  },
  "hsl": {
    "h": 206.667,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57457,
    "c": 0.11827,
    "h": 246.2
  },
  "luminance": 0.19171
}

Semantic roles & 50–950 ramp

primary
#337EBA
secondary
#C9A080
accent
#8B48E0
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #337EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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