#336895#336895

#336895 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.2% C 0.092 H 246.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#336895
RGBrgb(51, 104, 149)
HSLhsl(208, 49%, 39%)
HSVhsv(208, 66%, 58%)
CMYKcmyk(65.8%, 30.2%, 0%, 41.6%)
CIE-LABlab(42.42, -2.81, -29.81)
CIE-LCHlch(42.42, 29.95, 264.61°)
OKLaboklab(50.19% -0.0365 -0.0841)
OKLCHoklch(50.19% 0.092 246.6)
XYZxyz(11.7383, 12.7732, 30.2748)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336895 #956033
analogous
#339591 #336895 #333795
triadic
#336895 #953368 #689533
tetradic
#336895 #913395 #956033 #379533
square
#336895 #913395 #956033 #379533
split-complementary
#336895 #953337 #959133
monochromatic
#14283A #234867 #336895 #4688C0 #73A5CF

Accessibility & contrast

On white

5.91
#336895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#336895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336895
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336895#FFFFFF#000000##FFFFFF
##3368951.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546997
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #336895;
/* rgb */ color: rgb(51, 104, 149);
/* oklch */ color: oklch(50.2% 0.092 246.6);
Tailwind
colors: {
  custom: {
    50: '#7592b4',
    500: '#336895',
    950: '#000000',
  },
}
SCSS
$custom: #336895;
$custom-light: #7592b4;
$custom-dark: #000000;
JSON
{
  "hex": "#336895",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 149
  },
  "hsl": {
    "h": 207.551,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50189,
    "c": 0.09169,
    "h": 246.6
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

primary
#336895
secondary
#B78F6C
accent
#8E4FD9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #336895

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

Preview Lab → · Contrast checker → · Palette generator →

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