#336EB1#336EB1

#336EB1 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.2% C 0.122 H 253.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#336EB1
RGBrgb(51, 110, 177)
HSLhsl(212, 55%, 45%)
HSVhsv(212, 71%, 69%)
CMYKcmyk(71.2%, 37.9%, 0%, 30.6%)
CIE-LABlab(45.67, 3.61, -41.20)
CIE-LCHlch(45.67, 41.36, 275.01°)
OKLaboklab(53.22% -0.0347 -0.1173)
OKLCHoklch(53.22% 0.122 253.5)
XYZxyz(14.8740, 15.0284, 43.7033)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EB1 #B17633
analogous
#33ADB1 #336EB1 #3733B1
triadic
#336EB1 #B1336E #6EB133
tetradic
#336EB1 #B133AD #B17633 #33B137
square
#336EB1 #B133AD #B17633 #33B137
split-complementary
#336EB1 #B13733 #ADB133
monochromatic
#183352 #255081 #336EB1 #548DCE #83ACDB

Accessibility & contrast

On white

5.24
#336EB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#336EB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336EB1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EB1#FFFFFF#000000##FFFFFF
##336EB11.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B4
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#007E87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336eb1;
/* rgb */ color: rgb(51, 110, 177);
/* oklch */ color: oklch(53.2% 0.122 253.5);
Tailwind
colors: {
  custom: {
    50: '#7a97c8',
    500: '#336eb1',
    950: '#000000',
  },
}
SCSS
$custom: #336eb1;
$custom-light: #7a97c8;
$custom-dark: #000000;
JSON
{
  "hex": "#336eb1",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 177
  },
  "hsl": {
    "h": 211.905,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53215,
    "c": 0.12229,
    "h": 253.5
  },
  "luminance": 0.1503
}

Semantic roles & 50–950 ramp

primary
#336EB1
secondary
#C5A27B
accent
#9949DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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