#336AAF#336AAF

#336AAF is a mid, vivid cyan. Relative luminance 0.141; OKLCH L 52.2% C 0.124 H 255.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#336AAF
RGBrgb(51, 106, 175)
HSLhsl(213, 55%, 44%)
HSVhsv(213, 71%, 69%)
CMYKcmyk(70.9%, 39.4%, 0%, 31.4%)
CIE-LABlab(44.38, 5.37, -42.08)
CIE-LCHlch(44.38, 42.42, 277.28°)
OKLaboklab(52.17% -0.0313 -0.1199)
OKLCHoklch(52.17% 0.124 255.4)
XYZxyz(14.2543, 14.1055, 42.5205)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336AAF #AF7833
analogous
#33A8AF #336AAF #3A33AF
triadic
#336AAF #AF336A #6AAF33
tetradic
#336AAF #AF33A8 #AF7833 #33AF3A
square
#336AAF #AF33A8 #AF7833 #33AF3A
split-complementary
#336AAF #AF3A33 #A8AF33
monochromatic
#173150 #254D80 #336AAF #5289CD #82A9DB

Accessibility & contrast

On white

5.50
#336AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#336AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336AAF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336AAF#FFFFFF#000000##FFFFFF
##336AAF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB2
Deuteranopia (green-blind)
#3764AE
Tritanopia (blue-blind)
#007A84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336aaf;
/* rgb */ color: rgb(51, 106, 175);
/* oklch */ color: oklch(52.2% 0.124 255.4);
Tailwind
colors: {
  custom: {
    50: '#7a94c7',
    500: '#336aaf',
    950: '#000000',
  },
}
SCSS
$custom: #336aaf;
$custom-light: #7a94c7;
$custom-dark: #000000;
JSON
{
  "hex": "#336aaf",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 175
  },
  "hsl": {
    "h": 213.387,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.12392,
    "h": 255.4
  },
  "luminance": 0.14107
}

Semantic roles & 50–950 ramp

primary
#336AAF
secondary
#C4A37A
accent
#9C4ADE
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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