#336F9F#336F9F

#336F9F is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.4% C 0.098 H 245.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#336F9F
RGBrgb(51, 111, 159)
HSLhsl(207, 51%, 41%)
HSVhsv(207, 68%, 62%)
CMYKcmyk(67.9%, 30.2%, 0%, 37.6%)
CIE-LABlab(45.05, -3.51, -31.63)
CIE-LCHlch(45.05, 31.82, 263.66°)
OKLaboklab(52.42% -0.0408 -0.0893)
OKLCHoklch(52.42% 0.098 245.4)
XYZxyz(13.3053, 14.5745, 34.9061)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F9F #9F6333
analogous
#339F99 #336F9F #33399F
triadic
#336F9F #9F336F #6F9F33
tetradic
#336F9F #99339F #9F6333 #399F33
square
#336F9F #99339F #9F6333 #399F33
split-complementary
#336F9F #9F3339 #9F9933
monochromatic
#152E42 #244F71 #336F9F #4A8EC5 #79ABD4

Accessibility & contrast

On white

5.36
#336F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#336F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F9F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F9F#FFFFFF#000000##FFFFFF
##336F9F1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A70A1
Deuteranopia (green-blind)
#4B669E
Tritanopia (blue-blind)
#007B80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #336f9f;
/* rgb */ color: rgb(51, 111, 159);
/* oklch */ color: oklch(52.4% 0.098 245.4);
Tailwind
colors: {
  custom: {
    50: '#7798bb',
    500: '#336f9f',
    950: '#000000',
  },
}
SCSS
$custom: #336f9f;
$custom-light: #7798bb;
$custom-dark: #000000;
JSON
{
  "hex": "#336f9f",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 159
  },
  "hsl": {
    "h": 206.667,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.09822,
    "h": 245.4
  },
  "luminance": 0.14576
}

Semantic roles & 50–950 ramp

primary
#336F9F
secondary
#BC9371
accent
#8C4DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #336F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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