#33517C#33517C

#33517C is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.2% C 0.080 H 257.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#33517C
RGBrgb(51, 81, 124)
HSLhsl(215, 42%, 34%)
HSVhsv(215, 59%, 49%)
CMYKcmyk(58.9%, 34.7%, 0%, 51.4%)
CIE-LABlab(34.07, 2.78, -27.73)
CIE-LCHlch(34.07, 27.87, 275.73°)
OKLaboklab(43.23% -0.0175 -0.0783)
OKLCHoklch(43.23% 0.08 257.4)
XYZxyz(7.9445, 8.0432, 20.1987)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33517C #7C5E33
analogous
#33767C #33517C #3A337C
triadic
#33517C #7C3351 #517C33
tetradic
#33517C #7C3376 #7C5E33 #337C3A
square
#33517C #7C3376 #7C5E33 #337C3A
split-complementary
#33517C #7C3A33 #767C33
monochromatic
#0F1825 #213551 #33517C #456DA7 #688DC1

Accessibility & contrast

On white

8.05
#33517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#33517C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33517C
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33517C#FFFFFF#000000##FFFFFF
##33517C1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547E
Deuteranopia (green-blind)
#364D7B
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #33517c;
/* rgb */ color: rgb(51, 81, 124);
/* oklch */ color: oklch(43.2% 0.080 257.4);
Tailwind
colors: {
  custom: {
    50: '#7181a2',
    500: '#33517c',
    950: '#000000',
  },
}
SCSS
$custom: #33517c;
$custom-light: #7181a2;
$custom-dark: #000000;
JSON
{
  "hex": "#33517c",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 215.342,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43227,
    "c": 0.08021,
    "h": 257.4
  },
  "luminance": 0.08044
}

Semantic roles & 50–950 ramp

primary
#33517C
secondary
#A98C62
accent
#9F56D2
background
#F7F7FA
surface
#EDEEF3
border
#C8C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #33517C

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

Preview Lab → · Contrast checker → · Palette generator →

#33517C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva