#336BA2#336BA2

#336BA2 is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.6% C 0.106 H 250.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#336BA2
RGBrgb(51, 107, 162)
HSLhsl(210, 52%, 42%)
HSVhsv(210, 69%, 64%)
CMYKcmyk(68.5%, 34%, 0%, 36.5%)
CIE-LABlab(43.98, 0.00, -35.07)
CIE-LCHlch(43.98, 35.07, 270.00°)
OKLaboklab(51.63% -0.0357 -0.0994)
OKLCHoklch(51.63% 0.106 250.2)
XYZxyz(13.1421, 13.8265, 36.1516)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BA2 #A26A33
analogous
#33A2A2 #336BA2 #3333A2
triadic
#336BA2 #A2336B #6BA233
tetradic
#336BA2 #A233A2 #A26A33 #33A233
square
#336BA2 #A233A2 #A26A33 #33A233
split-complementary
#336BA2 #A23333 #A2A233
monochromatic
#162E45 #244C73 #336BA2 #4C8AC7 #7AA8D5

Accessibility & contrast

On white

5.58
#336BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#336BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BA2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BA2#FFFFFF#000000##FFFFFF
##336BA21.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536EA4
Deuteranopia (green-blind)
#4363A1
Tritanopia (blue-blind)
#00787F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336ba2;
/* rgb */ color: rgb(51, 107, 162);
/* oklch */ color: oklch(51.6% 0.106 250.2);
Tailwind
colors: {
  custom: {
    50: '#7795be',
    500: '#336ba2',
    950: '#000000',
  },
}
SCSS
$custom: #336ba2;
$custom-light: #7795be;
$custom-dark: #000000;
JSON
{
  "hex": "#336ba2",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 162
  },
  "hsl": {
    "h": 209.73,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.10562,
    "h": 250.2
  },
  "luminance": 0.13828
}

Semantic roles & 50–950 ramp

primary
#336BA2
secondary
#BE9873
accent
#934CDC
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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