#336BB0#336BB0

#336BB0 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.5% C 0.124 H 255.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#336BB0
RGBrgb(51, 107, 176)
HSLhsl(213, 55%, 45%)
HSVhsv(213, 71%, 69%)
CMYKcmyk(71%, 39.2%, 0%, 31%)
CIE-LABlab(44.73, 5.11, -42.11)
CIE-LCHlch(44.73, 42.41, 276.92°)
OKLaboklab(52.47% -0.032 -0.12)
OKLCHoklch(52.47% 0.124 255.1)
XYZxyz(14.4565, 14.3522, 43.0742)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BB0 #B07833
analogous
#33AAB0 #336BB0 #3A33B0
triadic
#336BB0 #B0336B #6BB033
tetradic
#336BB0 #B033AA #B07833 #33B03A
square
#336BB0 #B033AA #B07833 #33B03A
split-complementary
#336BB0 #B03A33 #AAB033
monochromatic
#183151 #254E81 #336BB0 #538ACD #82AADB

Accessibility & contrast

On white

5.43
#336BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#336BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BB0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BB0#FFFFFF#000000##FFFFFF
##336BB01.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B3
Deuteranopia (green-blind)
#3864AF
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336bb0;
/* rgb */ color: rgb(51, 107, 176);
/* oklch */ color: oklch(52.5% 0.124 255.1);
Tailwind
colors: {
  custom: {
    50: '#7a94c8',
    500: '#336bb0',
    950: '#000000',
  },
}
SCSS
$custom: #336bb0;
$custom-light: #7a94c8;
$custom-dark: #000000;
JSON
{
  "hex": "#336bb0",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 176
  },
  "hsl": {
    "h": 213.12,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52465,
    "c": 0.12417,
    "h": 255.1
  },
  "luminance": 0.14354
}

Semantic roles & 50–950 ramp

primary
#336BB0
secondary
#C4A37B
accent
#9C49DE
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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