#336BB8#336BB8

#336BB8 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 53.0% C 0.135 H 257.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#336BB8
RGBrgb(51, 107, 184)
HSLhsl(215, 57%, 46%)
HSVhsv(215, 72%, 72%)
CMYKcmyk(72.3%, 41.8%, 0%, 27.8%)
CIE-LABlab(45.19, 8.07, -46.04)
CIE-LCHlch(45.19, 46.74, 279.94°)
OKLaboklab(52.97% -0.0302 -0.1315)
OKLCHoklch(52.97% 0.135 257.1)
XYZxyz(15.2715, 14.6782, 47.3664)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BB8 #B88033
analogous
#33ADB8 #336BB8 #3D33B8
triadic
#336BB8 #B8336B #6BB833
tetradic
#336BB8 #B833AD #B88033 #33B83D
square
#336BB8 #B833AD #B88033 #33B83D
split-complementary
#336BB8 #B83D33 #ADB833
monochromatic
#183358 #264F88 #336BB8 #588BD1 #88ACDE

Accessibility & contrast

On white

5.34
#336BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#336BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BB8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BB8#FFFFFF#000000##FFFFFF
##336BB81.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4672BB
Deuteranopia (green-blind)
#3065B6
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336bb8;
/* rgb */ color: rgb(51, 107, 184);
/* oklch */ color: oklch(53.0% 0.135 257.1);
Tailwind
colors: {
  custom: {
    50: '#7b94ce',
    500: '#336bb8',
    950: '#000000',
  },
}
SCSS
$custom: #336bb8;
$custom-light: #7b94ce;
$custom-dark: #000000;
JSON
{
  "hex": "#336bb8",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 184
  },
  "hsl": {
    "h": 214.737,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52968,
    "c": 0.13495,
    "h": 257.1
  },
  "luminance": 0.1468
}

Semantic roles & 50–950 ramp

primary
#336BB8
secondary
#C8A97F
accent
#A048E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #336BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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