#337FBA#337FBA

#337FBA is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.7% C 0.117 H 245.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#337FBA
RGBrgb(51, 127, 186)
HSLhsl(206, 57%, 46%)
HSVhsv(206, 73%, 73%)
CMYKcmyk(72.6%, 31.7%, 0%, 27.1%)
CIE-LABlab(51.18, -3.44, -37.70)
CIE-LCHlch(51.18, 37.86, 264.79°)
OKLaboklab(57.69% -0.0488 -0.1068)
OKLCHoklch(57.69% 0.117 245.5)
XYZxyz(17.8141, 19.4257, 49.2555)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FBA #BA6E33
analogous
#33BAB2 #337FBA #333CBA
triadic
#337FBA #BA337F #7FBA33
tetradic
#337FBA #B233BA #BA6E33 #3CBA33
square
#337FBA #B233BA #BA6E33 #3CBA33
split-complementary
#337FBA #BA333C #BAB233
monochromatic
#193D5A #265E8A #337FBA #599DD1 #89B9DF

Accessibility & contrast

On white

4.30
#337FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#337FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FBA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FBA#FFFFFF#000000##000000
##337FBA1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BD
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #337fba;
/* rgb */ color: rgb(51, 127, 186);
/* oklch */ color: oklch(57.7% 0.117 245.5);
Tailwind
colors: {
  custom: {
    50: '#7ca3cf',
    500: '#337fba',
    950: '#000000',
  },
}
SCSS
$custom: #337fba;
$custom-light: #7ca3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#337fba",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 186
  },
  "hsl": {
    "h": 206.222,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57691,
    "c": 0.11741,
    "h": 245.5
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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