#336DA1#336DA1

#336DA1 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 52.1% C 0.102 H 248.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#336DA1
RGBrgb(51, 109, 161)
HSLhsl(208, 52%, 42%)
HSVhsv(208, 68%, 63%)
CMYKcmyk(68.3%, 32.3%, 0%, 36.9%)
CIE-LABlab(44.54, -1.58, -33.61)
CIE-LCHlch(44.54, 33.65, 267.30°)
OKLaboklab(52.05% -0.0381 -0.0951)
OKLCHoklch(52.05% 0.102 248.2)
XYZxyz(13.2645, 14.2129, 35.7556)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336DA1 #A16733
analogous
#33A19E #336DA1 #3336A1
triadic
#336DA1 #A1336D #6DA133
tetradic
#336DA1 #9E33A1 #A16733 #36A133
square
#336DA1 #9E33A1 #A16733 #36A133
split-complementary
#336DA1 #A13336 #A19E33
monochromatic
#162E44 #244E73 #336DA1 #4B8CC6 #7AAAD5

Accessibility & contrast

On white

5.46
#336DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#336DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336DA1
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336DA1#FFFFFF#000000##FFFFFF
##336DA11.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566FA3
Deuteranopia (green-blind)
#4765A0
Tritanopia (blue-blind)
#007980
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336da1;
/* rgb */ color: rgb(51, 109, 161);
/* oklch */ color: oklch(52.1% 0.102 248.2);
Tailwind
colors: {
  custom: {
    50: '#7796bd',
    500: '#336da1',
    950: '#000000',
  },
}
SCSS
$custom: #336da1;
$custom-light: #7796bd;
$custom-dark: #000000;
JSON
{
  "hex": "#336da1",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 161
  },
  "hsl": {
    "h": 208.364,
    "s": 51.887,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.10246,
    "h": 248.2
  },
  "luminance": 0.14214
}

Semantic roles & 50–950 ramp

primary
#336DA1
secondary
#BD9672
accent
#904CDB
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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