#336295#336295

#336295 is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.7% C 0.097 H 252.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#336295
RGBrgb(51, 98, 149)
HSLhsl(211, 49%, 39%)
HSVhsv(211, 66%, 58%)
CMYKcmyk(65.8%, 34.2%, 0%, 41.6%)
CIE-LABlab(40.59, 0.90, -32.70)
CIE-LCHlch(40.59, 32.71, 271.58°)
OKLaboklab(48.75% -0.0299 -0.0926)
OKLCHoklch(48.75% 0.097 252.1)
XYZxyz(11.1558, 11.6080, 30.0806)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336295 #956633
analogous
#339395 #336295 #353395
triadic
#336295 #953362 #629533
tetradic
#336295 #953393 #956633 #339535
square
#336295 #953393 #956633 #339535
split-complementary
#336295 #953533 #939533
monochromatic
#14263A #234467 #336295 #4680C0 #739FCF

Accessibility & contrast

On white

6.32
#336295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#336295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336295
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336295#FFFFFF#000000##FFFFFF
##3362951.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6597
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#006E74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336295;
/* rgb */ color: rgb(51, 98, 149);
/* oklch */ color: oklch(48.7% 0.097 252.1);
Tailwind
colors: {
  custom: {
    50: '#758eb4',
    500: '#336295',
    950: '#000000',
  },
}
SCSS
$custom: #336295;
$custom-light: #758eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#336295",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 149
  },
  "hsl": {
    "h": 211.224,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48749,
    "c": 0.09727,
    "h": 252.1
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#336295
secondary
#B7936C
accent
#974FD9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #336295

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

Preview Lab → · Contrast checker → · Palette generator →

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