#336F9E#336F9E

#336F9E is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.4% C 0.097 H 244.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#336F9E
RGBrgb(51, 111, 158)
HSLhsl(206, 51%, 41%)
HSVhsv(206, 68%, 62%)
CMYKcmyk(67.7%, 29.7%, 0%, 38%)
CIE-LABlab(45.00, -3.87, -31.12)
CIE-LCHlch(45.00, 31.36, 262.92°)
OKLaboklab(52.37% -0.0412 -0.0878)
OKLCHoklch(52.37% 0.097 244.9)
XYZxyz(13.2189, 14.5399, 34.4510)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F9E #9E6233
analogous
#339E97 #336F9E #33399E
triadic
#336F9E #9E336F #6F9E33
tetradic
#336F9E #97339E #9E6233 #399E33
square
#336F9E #97339E #9E6233 #399E33
split-complementary
#336F9E #9E3339 #9E9733
monochromatic
#152E41 #244E70 #336F9E #4A8FC4 #78ABD3

Accessibility & contrast

On white

5.37
#336F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#336F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F9E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F9E#FFFFFF#000000##FFFFFF
##336F9E1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A70A0
Deuteranopia (green-blind)
#4B669D
Tritanopia (blue-blind)
#007A7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336f9e;
/* rgb */ color: rgb(51, 111, 158);
/* oklch */ color: oklch(52.4% 0.097 244.9);
Tailwind
colors: {
  custom: {
    50: '#7798bb',
    500: '#336f9e',
    950: '#000000',
  },
}
SCSS
$custom: #336f9e;
$custom-light: #7798bb;
$custom-dark: #000000;
JSON
{
  "hex": "#336f9e",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 158
  },
  "hsl": {
    "h": 206.355,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52366,
    "c": 0.09701,
    "h": 244.9
  },
  "luminance": 0.14541
}

Semantic roles & 50–950 ramp

primary
#336F9E
secondary
#BC9271
accent
#8B4DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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