#336DBE#336DBE

#336DBE is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.8% C 0.141 H 257.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#336DBE
RGBrgb(51, 109, 190)
HSLhsl(215, 58%, 47%)
HSVhsv(215, 73%, 75%)
CMYKcmyk(73.2%, 42.6%, 0%, 25.5%)
CIE-LABlab(46.12, 9.04, -48.04)
CIE-LCHlch(46.12, 48.88, 280.65°)
OKLaboklab(53.8% -0.0308 -0.1373)
OKLCHoklch(53.8% 0.141 257.4)
XYZxyz(16.1247, 15.3570, 50.8196)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DBE #BE8433
analogous
#33B3BE #336DBE #3F33BE
triadic
#336DBE #BE336D #6DBE33
tetradic
#336DBE #BE33B3 #BE8433 #33BE3F
square
#336DBE #BE33B3 #BE8433 #33BE3F
split-complementary
#336DBE #BE3F33 #B3BE33
monochromatic
#19365E #26518E #336DBE #5B8DD3 #8BAFE0

Accessibility & contrast

On white

5.16
#336DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#336DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336DBE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336DBE#FFFFFF#000000##FFFFFF
##336DBE1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4674C1
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #336dbe;
/* rgb */ color: rgb(51, 109, 190);
/* oklch */ color: oklch(53.8% 0.141 257.4);
Tailwind
colors: {
  custom: {
    50: '#7c96d2',
    500: '#336dbe',
    950: '#000000',
  },
}
SCSS
$custom: #336dbe;
$custom-light: #7c96d2;
$custom-dark: #000000;
JSON
{
  "hex": "#336dbe",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 190
  },
  "hsl": {
    "h": 214.964,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.14076,
    "h": 257.4
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#336DBE
secondary
#CAAC83
accent
#A147E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #336DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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