#336FA0#336FA0

#336FA0 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.5% C 0.099 H 246.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#336FA0
RGBrgb(51, 111, 160)
HSLhsl(207, 52%, 41%)
HSVhsv(207, 68%, 63%)
CMYKcmyk(68.1%, 30.6%, 0%, 37.3%)
CIE-LABlab(45.09, -3.16, -32.14)
CIE-LCHlch(45.09, 32.30, 264.39°)
OKLaboklab(52.47% -0.0405 -0.0908)
OKLCHoklch(52.47% 0.099 246)
XYZxyz(13.3925, 14.6094, 35.3650)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FA0 #A06433
analogous
#33A09B #336FA0 #3339A0
triadic
#336FA0 #A0336F #6FA033
tetradic
#336FA0 #9B33A0 #A06433 #39A033
square
#336FA0 #9B33A0 #A06433 #39A033
split-complementary
#336FA0 #A03339 #A09B33
monochromatic
#152F43 #244F72 #336FA0 #4B8EC6 #79ABD4

Accessibility & contrast

On white

5.35
#336FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#336FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336FA0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FA0#FFFFFF#000000##FFFFFF
##336FA01.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5971A2
Deuteranopia (green-blind)
#4A669F
Tritanopia (blue-blind)
#007B80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336fa0;
/* rgb */ color: rgb(51, 111, 160);
/* oklch */ color: oklch(52.5% 0.099 246.0);
Tailwind
colors: {
  custom: {
    50: '#7798bc',
    500: '#336fa0',
    950: '#000000',
  },
}
SCSS
$custom: #336fa0;
$custom-light: #7798bc;
$custom-dark: #000000;
JSON
{
  "hex": "#336fa0",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 160
  },
  "hsl": {
    "h": 206.972,
    "s": 51.659,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.09945,
    "h": 246
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#336FA0
secondary
#BD9472
accent
#8D4DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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