#336EAF#336EAF

#336EAF is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.1% C 0.120 H 252.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#336EAF
RGBrgb(51, 110, 175)
HSLhsl(211, 55%, 44%)
HSVhsv(211, 71%, 69%)
CMYKcmyk(70.9%, 37.1%, 0%, 31.4%)
CIE-LABlab(45.56, 2.88, -40.20)
CIE-LCHlch(45.56, 40.31, 274.10°)
OKLaboklab(53.1% -0.0352 -0.1143)
OKLCHoklch(53.1% 0.12 252.9)
XYZxyz(14.6762, 14.9492, 42.6612)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336EAF #AF7433
analogous
#33ACAF #336EAF #3633AF
triadic
#336EAF #AF336E #6EAF33
tetradic
#336EAF #AF33AC #AF7433 #33AF36
square
#336EAF #AF33AC #AF7433 #33AF36
split-complementary
#336EAF #AF3633 #ACAF33
monochromatic
#173250 #255080 #336EAF #528DCD #82ACDB

Accessibility & contrast

On white

5.26
#336EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336EAF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336EAF#FFFFFF#000000##FFFFFF
##336EAF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5172B2
Deuteranopia (green-blind)
#3E67AE
Tritanopia (blue-blind)
#007D86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #336eaf;
/* rgb */ color: rgb(51, 110, 175);
/* oklch */ color: oklch(53.1% 0.120 252.9);
Tailwind
colors: {
  custom: {
    50: '#7a97c7',
    500: '#336eaf',
    950: '#000000',
  },
}
SCSS
$custom: #336eaf;
$custom-light: #7a97c7;
$custom-dark: #000000;
JSON
{
  "hex": "#336eaf",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 175
  },
  "hsl": {
    "h": 211.452,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53095,
    "c": 0.11965,
    "h": 252.9
  },
  "luminance": 0.14951
}

Semantic roles & 50–950 ramp

primary
#336EAF
secondary
#C4A17A
accent
#974ADE
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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