#336F9B#336F9B

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

Color values

HEX#336F9B
RGBrgb(51, 111, 155)
HSLhsl(205, 50%, 40%)
HSVhsv(205, 67%, 61%)
CMYKcmyk(67.1%, 28.4%, 0%, 39.2%)
CIE-LABlab(44.85, -4.93, -29.57)
CIE-LCHlch(44.85, 29.98, 260.54°)
OKLaboklab(52.21% -0.0421 -0.0833)
OKLCHoklch(52.21% 0.093 243.2)
XYZxyz(12.9638, 14.4379, 33.1076)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F9B #9B5F33
analogous
#339B93 #336F9B #333B9B
triadic
#336F9B #9B336F #6F9B33
tetradic
#336F9B #93339B #9B5F33 #3B9B33
square
#336F9B #93339B #9B5F33 #3B9B33
split-complementary
#336F9B #9B333B #9B9333
monochromatic
#152D3F #244E6D #336F9B #488FC3 #76ABD2

Accessibility & contrast

On white

5.40
#336F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#336F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F9B
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F9B#FFFFFF#000000##FFFFFF
##336F9B1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B709D
Deuteranopia (green-blind)
#4D669A
Tritanopia (blue-blind)
#007A7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #336f9b;
/* rgb */ color: rgb(51, 111, 155);
/* oklch */ color: oklch(52.2% 0.093 243.2);
Tailwind
colors: {
  custom: {
    50: '#7698b8',
    500: '#336f9b',
    950: '#000000',
  },
}
SCSS
$custom: #336f9b;
$custom-light: #7698b8;
$custom-dark: #000000;
JSON
{
  "hex": "#336f9b",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 155
  },
  "hsl": {
    "h": 205.385,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52206,
    "c": 0.0934,
    "h": 243.2
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#336F9B
secondary
#BA8F6F
accent
#894EDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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