#336CB9#336CB9

#336CB9 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.3% C 0.135 H 256.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#336CB9
RGBrgb(51, 108, 185)
HSLhsl(214, 57%, 46%)
HSVhsv(214, 72%, 73%)
CMYKcmyk(72.4%, 41.6%, 0%, 27.5%)
CIE-LABlab(45.54, 7.81, -46.07)
CIE-LCHlch(45.54, 46.73, 279.62°)
OKLaboklab(53.26% -0.0309 -0.1316)
OKLCHoklch(53.26% 0.135 256.8)
XYZxyz(15.4816, 14.9300, 47.9554)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336CB9 #B98033
analogous
#33AFB9 #336CB9 #3D33B9
triadic
#336CB9 #B9336C #6CB933
tetradic
#336CB9 #B933AF #B98033 #33B93D
square
#336CB9 #B933AF #B98033 #33B93D
split-complementary
#336CB9 #B93D33 #AFB933
monochromatic
#193459 #265089 #336CB9 #588CD1 #88ADDE

Accessibility & contrast

On white

5.27
#336CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#336CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336CB9
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336CB9#FFFFFF#000000##FFFFFF
##336CB91.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4772BC
Deuteranopia (green-blind)
#3166B7
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336cb9;
/* rgb */ color: rgb(51, 108, 185);
/* oklch */ color: oklch(53.3% 0.135 256.8);
Tailwind
colors: {
  custom: {
    50: '#7c95ce',
    500: '#336cb9',
    950: '#000000',
  },
}
SCSS
$custom: #336cb9;
$custom-light: #7c95ce;
$custom-dark: #000000;
JSON
{
  "hex": "#336cb9",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 185
  },
  "hsl": {
    "h": 214.478,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53257,
    "c": 0.13516,
    "h": 256.8
  },
  "luminance": 0.14932
}

Semantic roles & 50–950 ramp

primary
#336CB9
secondary
#C8A980
accent
#9F48E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #336CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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