#336E9F#336E9F

#336E9F is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.2% C 0.099 H 246.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#336E9F
RGBrgb(51, 110, 159)
HSLhsl(207, 51%, 41%)
HSVhsv(207, 68%, 62%)
CMYKcmyk(67.9%, 30.8%, 0%, 37.6%)
CIE-LABlab(44.74, -2.91, -32.11)
CIE-LCHlch(44.74, 32.24, 264.83°)
OKLaboklab(52.18% -0.0398 -0.0907)
OKLCHoklch(52.18% 0.099 246.3)
XYZxyz(13.1968, 14.3575, 34.8700)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E9F #9F6433
analogous
#339F9A #336E9F #33389F
triadic
#336E9F #9F336E #6E9F33
tetradic
#336E9F #9A339F #9F6433 #389F33
square
#336E9F #9A339F #9F6433 #389F33
split-complementary
#336E9F #9F3338 #9F9A33
monochromatic
#152E42 #244E71 #336E9F #4A8DC5 #79AAD4

Accessibility & contrast

On white

5.42
#336E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#336E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E9F
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E9F#FFFFFF#000000##FFFFFF
##336E9F1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5870A1
Deuteranopia (green-blind)
#49659E
Tritanopia (blue-blind)
#007A7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336e9f;
/* rgb */ color: rgb(51, 110, 159);
/* oklch */ color: oklch(52.2% 0.099 246.3);
Tailwind
colors: {
  custom: {
    50: '#7797bb',
    500: '#336e9f',
    950: '#000000',
  },
}
SCSS
$custom: #336e9f;
$custom-light: #7797bb;
$custom-dark: #000000;
JSON
{
  "hex": "#336e9f",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 159
  },
  "hsl": {
    "h": 207.222,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5218,
    "c": 0.09907,
    "h": 246.3
  },
  "luminance": 0.14359
}

Semantic roles & 50–950 ramp

primary
#336E9F
secondary
#BC9371
accent
#8D4DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #336E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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