#336BA0#336BA0

#336BA0 is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.5% C 0.103 H 249.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#336BA0
RGBrgb(51, 107, 160)
HSLhsl(209, 52%, 41%)
HSVhsv(209, 68%, 63%)
CMYKcmyk(68.1%, 33.1%, 0%, 37.3%)
CIE-LABlab(43.88, -0.72, -34.05)
CIE-LCHlch(43.88, 34.06, 268.79°)
OKLaboklab(51.52% -0.0363 -0.0964)
OKLCHoklch(51.52% 0.103 249.4)
XYZxyz(12.9657, 13.7559, 35.2227)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BA0 #A06833
analogous
#33A09F #336BA0 #3335A0
triadic
#336BA0 #A0336B #6BA033
tetradic
#336BA0 #9F33A0 #A06833 #35A033
square
#336BA0 #9F33A0 #A06833 #35A033
split-complementary
#336BA0 #A03335 #A09F33
monochromatic
#152D43 #244C72 #336BA0 #4B8AC6 #79A8D4

Accessibility & contrast

On white

5.60
#336BA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#336BA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BA0
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BA0#FFFFFF#000000##FFFFFF
##336BA01.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546DA2
Deuteranopia (green-blind)
#44639F
Tritanopia (blue-blind)
#00787E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #336ba0;
/* rgb */ color: rgb(51, 107, 160);
/* oklch */ color: oklch(51.5% 0.103 249.4);
Tailwind
colors: {
  custom: {
    50: '#7795bc',
    500: '#336ba0',
    950: '#000000',
  },
}
SCSS
$custom: #336ba0;
$custom-light: #7795bc;
$custom-dark: #000000;
JSON
{
  "hex": "#336ba0",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 160
  },
  "hsl": {
    "h": 209.174,
    "s": 51.659,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51519,
    "c": 0.10303,
    "h": 249.4
  },
  "luminance": 0.13757
}

Semantic roles & 50–950 ramp

primary
#336BA0
secondary
#BD9672
accent
#924DDB
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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