#336AB3#336AB3

#336AB3 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.4% C 0.129 H 256.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#336AB3
RGBrgb(51, 106, 179)
HSLhsl(214, 56%, 45%)
HSVhsv(214, 72%, 70%)
CMYKcmyk(71.5%, 40.8%, 0%, 29.8%)
CIE-LABlab(44.61, 6.85, -44.05)
CIE-LCHlch(44.61, 44.58, 278.84°)
OKLaboklab(52.42% -0.0304 -0.1257)
OKLCHoklch(52.42% 0.129 256.4)
XYZxyz(14.6530, 14.2650, 44.6203)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336AB3 #B37C33
analogous
#33AAB3 #336AB3 #3C33B3
triadic
#336AB3 #B3336A #6AB333
tetradic
#336AB3 #B333AA #B37C33 #33B33C
square
#336AB3 #B333AA #B37C33 #33B33C
split-complementary
#336AB3 #B33C33 #AAB333
monochromatic
#183254 #254E83 #336AB3 #5589CE #84AADC

Accessibility & contrast

On white

5.45
#336AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#336AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336AB3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336AB3#FFFFFF#000000##FFFFFF
##336AB31.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B6
Deuteranopia (green-blind)
#3364B2
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336ab3;
/* rgb */ color: rgb(51, 106, 179);
/* oklch */ color: oklch(52.4% 0.129 256.4);
Tailwind
colors: {
  custom: {
    50: '#7a94ca',
    500: '#336ab3',
    950: '#000000',
  },
}
SCSS
$custom: #336ab3;
$custom-light: #7a94ca;
$custom-dark: #000000;
JSON
{
  "hex": "#336ab3",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 179
  },
  "hsl": {
    "h": 214.219,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52424,
    "c": 0.12932,
    "h": 256.4
  },
  "luminance": 0.14267
}

Semantic roles & 50–950 ramp

primary
#336AB3
secondary
#C6A67C
accent
#9E49DF
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336AB3

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

Preview Lab → · Contrast checker → · Palette generator →

#336AB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva