#336BAA#336BAA

#336BAA is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 52.1% C 0.116 H 253.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#336BAA
RGBrgb(51, 107, 170)
HSLhsl(212, 54%, 43%)
HSVhsv(212, 70%, 67%)
CMYKcmyk(70%, 37.1%, 0%, 33.3%)
CIE-LABlab(44.40, 2.91, -39.11)
CIE-LCHlch(44.40, 39.22, 274.26°)
OKLaboklab(52.1% -0.0335 -0.1112)
OKLCHoklch(52.1% 0.116 253.2)
XYZxyz(13.8760, 14.1200, 40.0166)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BAA #AA7233
analogous
#33A6AA #336BAA #3733AA
triadic
#336BAA #AA336B #6BAA33
tetradic
#336BAA #AA33A6 #AA7233 #33AA37
square
#336BAA #AA33A6 #AA7233 #33AA37
split-complementary
#336BAA #AA3733 #A6AA33
monochromatic
#17304C #254D7B #336BAA #5089CA #7FA9D9

Accessibility & contrast

On white

5.49
#336BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336BAA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BAA#FFFFFF#000000##FFFFFF
##336BAA1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAD
Deuteranopia (green-blind)
#3D64A9
Tritanopia (blue-blind)
#007A82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336baa;
/* rgb */ color: rgb(51, 107, 170);
/* oklch */ color: oklch(52.1% 0.116 253.2);
Tailwind
colors: {
  custom: {
    50: '#7995c3',
    500: '#336baa',
    950: '#000000',
  },
}
SCSS
$custom: #336baa;
$custom-light: #7995c3;
$custom-dark: #000000;
JSON
{
  "hex": "#336baa",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 170
  },
  "hsl": {
    "h": 211.765,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.521,
    "c": 0.11615,
    "h": 253.2
  },
  "luminance": 0.14121
}

Semantic roles & 50–950 ramp

primary
#336BAA
secondary
#C29F77
accent
#984BDD
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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