#336291#336291

#336291 is a mid, moderate cyan. Relative luminance 0.115; OKLCH L 48.5% C 0.092 H 250.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#336291
RGBrgb(51, 98, 145)
HSLhsl(210, 48%, 38%)
HSVhsv(210, 65%, 57%)
CMYKcmyk(64.8%, 32.4%, 0%, 43.1%)
CIE-LABlab(40.38, -0.53, -30.62)
CIE-LCHlch(40.38, 30.62, 269.00°)
OKLaboklab(48.52% -0.031 -0.0865)
OKLCHoklch(48.52% 0.092 250.3)
XYZxyz(10.8419, 11.4825, 28.4275)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336291 #916233
analogous
#339191 #336291 #333391
triadic
#336291 #913362 #629133
tetradic
#336291 #913391 #916233 #339133
square
#336291 #913391 #916233 #339133
split-complementary
#336291 #913333 #919133
monochromatic
#132536 #234364 #336291 #4481BD #719FCD

Accessibility & contrast

On white

6.37
#336291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#336291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336291
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336291#FFFFFF#000000##FFFFFF
##3362911.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6493
Deuteranopia (green-blind)
#415B90
Tritanopia (blue-blind)
#006D73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336291;
/* rgb */ color: rgb(51, 98, 145);
/* oklch */ color: oklch(48.5% 0.092 250.3);
Tailwind
colors: {
  custom: {
    50: '#748eb1',
    500: '#336291',
    950: '#000000',
  },
}
SCSS
$custom: #336291;
$custom-light: #748eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#336291",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 145
  },
  "hsl": {
    "h": 210,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48521,
    "c": 0.09192,
    "h": 250.3
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

primary
#336291
secondary
#B5906B
accent
#9450D8
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #336291

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

Preview Lab → · Contrast checker → · Palette generator →

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