#336F94#336F94

#336F94 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.8% C 0.085 H 238.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#336F94
RGBrgb(51, 111, 148)
HSLhsl(203, 49%, 39%)
HSVhsv(203, 66%, 58%)
CMYKcmyk(65.5%, 25%, 0%, 42%)
CIE-LABlab(44.53, -7.37, -25.92)
CIE-LCHlch(44.53, 26.95, 254.12°)
OKLaboklab(51.84% -0.0445 -0.0728)
OKLCHoklch(51.84% 0.085 238.5)
XYZxyz(12.3929, 14.2095, 30.1008)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F94 #945833
analogous
#339489 #336F94 #333E94
triadic
#336F94 #94336F #6F9433
tetradic
#336F94 #893394 #945833 #3E9433
square
#336F94 #893394 #945833 #3E9433
split-complementary
#336F94 #94333E #948933
monochromatic
#142B39 #234D66 #336F94 #4591BF #73ACCF

Accessibility & contrast

On white

5.47
#336F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#336F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F94
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F94#FFFFFF#000000##FFFFFF
##336F941.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6F96
Deuteranopia (green-blind)
#516593
Tritanopia (blue-blind)
#00787C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #336f94;
/* rgb */ color: rgb(51, 111, 148);
/* oklch */ color: oklch(51.8% 0.085 238.5);
Tailwind
colors: {
  custom: {
    50: '#7598b3',
    500: '#336f94',
    950: '#000000',
  },
}
SCSS
$custom: #336f94;
$custom-light: #7598b3;
$custom-dark: #000000;
JSON
{
  "hex": "#336f94",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 148
  },
  "hsl": {
    "h": 202.887,
    "s": 48.744,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51844,
    "c": 0.08535,
    "h": 238.5
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#336F94
secondary
#B7896C
accent
#844FD8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336F94

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

Preview Lab → · Contrast checker → · Palette generator →

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