#336BAF#336BAF

#336BAF is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.4% C 0.123 H 254.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#336BAF
RGBrgb(51, 107, 175)
HSLhsl(213, 55%, 44%)
HSVhsv(213, 71%, 69%)
CMYKcmyk(70.9%, 38.9%, 0%, 31.4%)
CIE-LABlab(44.68, 4.75, -41.61)
CIE-LCHlch(44.68, 41.88, 276.51°)
OKLaboklab(52.4% -0.0323 -0.1185)
OKLCHoklch(52.4% 0.123 254.8)
XYZxyz(14.3580, 14.3128, 42.5551)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336BAF #AF7733
analogous
#33A9AF #336BAF #3933AF
triadic
#336BAF #AF336B #6BAF33
tetradic
#336BAF #AF33A9 #AF7733 #33AF39
square
#336BAF #AF33A9 #AF7733 #33AF39
split-complementary
#336BAF #AF3933 #A9AF33
monochromatic
#173150 #254E80 #336BAF #528ACD #82AADB

Accessibility & contrast

On white

5.44
#336BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#336BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336BAF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336BAF#FFFFFF#000000##FFFFFF
##336BAF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B2
Deuteranopia (green-blind)
#3964AE
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336baf;
/* rgb */ color: rgb(51, 107, 175);
/* oklch */ color: oklch(52.4% 0.123 254.8);
Tailwind
colors: {
  custom: {
    50: '#7a94c7',
    500: '#336baf',
    950: '#000000',
  },
}
SCSS
$custom: #336baf;
$custom-light: #7a94c7;
$custom-dark: #000000;
JSON
{
  "hex": "#336baf",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 175
  },
  "hsl": {
    "h": 212.903,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52403,
    "c": 0.12283,
    "h": 254.8
  },
  "luminance": 0.14314
}

Semantic roles & 50–950 ramp

primary
#336BAF
secondary
#C4A27A
accent
#9B4ADE
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #336BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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