#336FB0#336FB0

#336FB0 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.4% C 0.120 H 252.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#336FB0
RGBrgb(51, 111, 176)
HSLhsl(211, 55%, 45%)
HSVhsv(211, 71%, 69%)
CMYKcmyk(71%, 36.9%, 0%, 31%)
CIE-LABlab(45.91, 2.62, -40.23)
CIE-LCHlch(45.91, 40.32, 273.73°)
OKLaboklab(53.39% -0.0359 -0.1144)
OKLCHoklch(53.39% 0.12 252.6)
XYZxyz(14.8832, 15.2057, 43.2165)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336FB0 #B07433
analogous
#33AEB0 #336FB0 #3633B0
triadic
#336FB0 #B0336F #6FB033
tetradic
#336FB0 #B033AE #B07433 #33B036
square
#336FB0 #B033AE #B07433 #33B036
split-complementary
#336FB0 #B03633 #AEB033
monochromatic
#183351 #255181 #336FB0 #538ECD #82ADDB

Accessibility & contrast

On white

5.20
#336FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#336FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336FB0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336FB0#FFFFFF#000000##FFFFFF
##336FB01.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5273B3
Deuteranopia (green-blind)
#3F67AF
Tritanopia (blue-blind)
#007E87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #336fb0;
/* rgb */ color: rgb(51, 111, 176);
/* oklch */ color: oklch(53.4% 0.120 252.6);
Tailwind
colors: {
  custom: {
    50: '#7a97c8',
    500: '#336fb0',
    950: '#000000',
  },
}
SCSS
$custom: #336fb0;
$custom-light: #7a97c8;
$custom-dark: #000000;
JSON
{
  "hex": "#336fb0",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 176
  },
  "hsl": {
    "h": 211.2,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53386,
    "c": 0.11993,
    "h": 252.6
  },
  "luminance": 0.15207
}

Semantic roles & 50–950 ramp

primary
#336FB0
secondary
#C4A17B
accent
#9749DE
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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