#336893#336893

#336893 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.1% C 0.089 H 245.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#336893
RGBrgb(51, 104, 147)
HSLhsl(207, 48%, 39%)
HSVhsv(207, 65%, 58%)
CMYKcmyk(65.3%, 29.3%, 0%, 42.4%)
CIE-LABlab(42.32, -3.52, -28.77)
CIE-LCHlch(42.32, 28.99, 263.02°)
OKLaboklab(50.08% -0.0371 -0.0811)
OKLCHoklch(50.08% 0.089 245.4)
XYZxyz(11.5800, 12.7099, 29.4411)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336893 #935E33
analogous
#33938E #336893 #333893
triadic
#336893 #933368 #689333
tetradic
#336893 #8E3393 #935E33 #389333
square
#336893 #8E3393 #935E33 #389333
split-complementary
#336893 #933338 #938E33
monochromatic
#132838 #234866 #336893 #4588BE #72A5CE

Accessibility & contrast

On white

5.93
#336893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#336893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336893
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336893#FFFFFF#000000##FFFFFF
##3368931.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556995
Deuteranopia (green-blind)
#486092
Tritanopia (blue-blind)
#007277
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #336893;
/* rgb */ color: rgb(51, 104, 147);
/* oklch */ color: oklch(50.1% 0.089 245.4);
Tailwind
colors: {
  custom: {
    50: '#7592b3',
    500: '#336893',
    950: '#000000',
  },
}
SCSS
$custom: #336893;
$custom-light: #7592b3;
$custom-dark: #000000;
JSON
{
  "hex": "#336893",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 147
  },
  "hsl": {
    "h": 206.875,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50081,
    "c": 0.08918,
    "h": 245.4
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#336893
secondary
#B68D6C
accent
#8D50D8
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #336893

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

Preview Lab → · Contrast checker → · Palette generator →

#336893 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva