#337FDA#337FDA

#337FDA is a mid, vivid cyan. Relative luminance 0.209; OKLCH L 59.6% C 0.158 H 255.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#337FDA
RGBrgb(51, 127, 218)
HSLhsl(213, 69%, 53%)
HSVhsv(213, 77%, 85%)
CMYKcmyk(76.6%, 41.7%, 0%, 14.5%)
CIE-LABlab(52.89, 8.22, -53.20)
CIE-LCHlch(52.89, 53.83, 278.79°)
OKLaboklab(59.58% -0.0406 -0.1522)
OKLCHoklch(59.58% 0.158 255.1)
XYZxyz(21.6048, 20.9420, 69.2196)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FDA #DA8E33
analogous
#33D2DA #337FDA #3B33DA
triadic
#337FDA #DA337F #7FDA33
tetradic
#337FDA #DA33D2 #DA8E33 #33DA3B
square
#337FDA #DA33D2 #DA8E33 #33DA3B
split-complementary
#337FDA #DA3B33 #D2DA33
monochromatic
#17457C #2061B0 #337FDA #67A0E3 #9BC0ED

Accessibility & contrast

On white

4.05
#337FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#337FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FDA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FDA#FFFFFF#000000##000000
##337FDA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5286DE
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #337fda;
/* rgb */ color: rgb(51, 127, 218);
/* oklch */ color: oklch(59.6% 0.158 255.1);
Tailwind
colors: {
  custom: {
    50: '#82a3e6',
    500: '#337fda',
    950: '#000000',
  },
}
SCSS
$custom: #337fda;
$custom-light: #82a3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#337fda",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 212.695,
    "s": 69.295,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59581,
    "c": 0.15754,
    "h": 255.1
  },
  "luminance": 0.20945
}

Semantic roles & 50–950 ramp

primary
#337FDA
secondary
#D9B890
accent
#9C3CEC
background
#F8FAFE
surface
#F0F3FC
border
#CBCDD5
text
#0C0F16
muted
#7D7F84

Preview Lab

Preview with #337FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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