#337BD4#337BD4

#337BD4 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.3% C 0.154 H 255.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#337BD4
RGBrgb(51, 123, 212)
HSLhsl(213, 65%, 52%)
HSVhsv(213, 76%, 83%)
CMYKcmyk(75.9%, 42%, 0%, 16.9%)
CIE-LABlab(51.41, 8.47, -52.18)
CIE-LCHlch(51.41, 52.86, 279.22°)
OKLaboklab(58.32% -0.0385 -0.1493)
OKLCHoklch(58.32% 0.154 255.5)
XYZxyz(20.3275, 19.6208, 64.9905)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BD4 #D48C33
analogous
#33CBD4 #337BD4 #3C33D4
triadic
#337BD4 #D4337B #7BD433
tetradic
#337BD4 #D433CB #D48C33 #33D43C
square
#337BD4 #D433CB #D48C33 #33D43C
split-complementary
#337BD4 #D43C33 #CBD433
monochromatic
#184174 #235EA7 #337BD4 #669CDF #98BCE9

Accessibility & contrast

On white

4.26
#337BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#337BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337BD4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BD4#FFFFFF#000000##000000
##337BD41.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D7
Deuteranopia (green-blind)
#3374D2
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #337bd4;
/* rgb */ color: rgb(51, 123, 212);
/* oklch */ color: oklch(58.3% 0.154 255.5);
Tailwind
colors: {
  custom: {
    50: '#81a0e2',
    500: '#337bd4',
    950: '#000000',
  },
}
SCSS
$custom: #337bd4;
$custom-light: #81a0e2;
$custom-dark: #000000;
JSON
{
  "hex": "#337bd4",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 212
  },
  "hsl": {
    "h": 213.168,
    "s": 65.182,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58319,
    "c": 0.15416,
    "h": 255.5
  },
  "luminance": 0.19623
}

Semantic roles & 50–950 ramp

primary
#337BD4
secondary
#D5B58E
accent
#9D40E8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #337BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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