#336BB3#336BB3

#336BB3 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.7% C 0.128 H 255.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#336BB3
RGBrgb(51, 107, 179)
HSLhsl(214, 56%, 45%)
HSVhsv(214, 72%, 70%)
CMYKcmyk(71.5%, 40.2%, 0%, 29.8%)
CIE-LABlab(44.90, 6.22, -43.59)
CIE-LCHlch(44.90, 44.03, 278.12°)
OKLaboklab(52.65% -0.0313 -0.1243)
OKLCHoklch(52.65% 0.128 255.9)
XYZxyz(14.7566, 14.4723, 44.6548)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BB3 #B37B33
analogous
#33ABB3 #336BB3 #3B33B3
triadic
#336BB3 #B3336B #6BB333
tetradic
#336BB3 #B333AB #B37B33 #33B33B
square
#336BB3 #B333AB #B37B33 #33B33B
split-complementary
#336BB3 #B33B33 #ABB333
monochromatic
#183254 #254F83 #336BB3 #558ACE #84ABDC

Accessibility & contrast

On white

5.39
#336BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#336BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BB3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BB3#FFFFFF#000000##FFFFFF
##336BB31.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4971B6
Deuteranopia (green-blind)
#3565B2
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336bb3;
/* rgb */ color: rgb(51, 107, 179);
/* oklch */ color: oklch(52.7% 0.128 255.9);
Tailwind
colors: {
  custom: {
    50: '#7a94ca',
    500: '#336bb3',
    950: '#000000',
  },
}
SCSS
$custom: #336bb3;
$custom-light: #7a94ca;
$custom-dark: #000000;
JSON
{
  "hex": "#336bb3",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 213.75,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52651,
    "c": 0.1282,
    "h": 255.9
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#336BB3
secondary
#C6A57C
accent
#9D49DF
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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