#336FB3#336FB3

#336FB3 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.6% C 0.124 H 253.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#336FB3
RGBrgb(51, 111, 179)
HSLhsl(212, 56%, 45%)
HSVhsv(212, 72%, 70%)
CMYKcmyk(71.5%, 38%, 0%, 29.8%)
CIE-LABlab(46.08, 3.72, -41.72)
CIE-LCHlch(46.08, 41.89, 275.10°)
OKLaboklab(53.57% -0.0352 -0.1188)
OKLCHoklch(53.57% 0.124 253.5)
XYZxyz(15.1834, 15.3257, 44.7970)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FB3 #B37733
analogous
#33AFB3 #336FB3 #3733B3
triadic
#336FB3 #B3336F #6FB333
tetradic
#336FB3 #B333AF #B37733 #33B337
square
#336FB3 #B333AF #B37733 #33B337
split-complementary
#336FB3 #B33733 #AFB333
monochromatic
#183454 #255183 #336FB3 #558ECE #84ADDC

Accessibility & contrast

On white

5.17
#336FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336FB3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FB3#FFFFFF#000000##FFFFFF
##336FB31.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5074B6
Deuteranopia (green-blind)
#3D68B2
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #336fb3;
/* rgb */ color: rgb(51, 111, 179);
/* oklch */ color: oklch(53.6% 0.124 253.5);
Tailwind
colors: {
  custom: {
    50: '#7a97ca',
    500: '#336fb3',
    950: '#000000',
  },
}
SCSS
$custom: #336fb3;
$custom-light: #7a97ca;
$custom-dark: #000000;
JSON
{
  "hex": "#336fb3",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 179
  },
  "hsl": {
    "h": 211.875,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53566,
    "c": 0.12388,
    "h": 253.5
  },
  "luminance": 0.15327
}

Semantic roles & 50–950 ramp

primary
#336FB3
secondary
#C6A37C
accent
#9949DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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