#33517E#33517E

#33517E is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.3% C 0.083 H 258.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#33517E
RGBrgb(51, 81, 126)
HSLhsl(216, 42%, 35%)
HSVhsv(216, 60%, 49%)
CMYKcmyk(59.5%, 35.7%, 0%, 50.6%)
CIE-LABlab(34.18, 3.49, -28.80)
CIE-LCHlch(34.18, 29.01, 276.92°)
OKLaboklab(43.35% -0.0169 -0.0814)
OKLCHoklch(43.35% 0.083 258.3)
XYZxyz(8.0723, 8.0944, 20.8716)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33517E #7E6033
analogous
#33777E #33517E #3B337E
triadic
#33517E #7E3351 #517E33
tetradic
#33517E #7E3377 #7E6033 #337E3B
square
#33517E #7E3377 #7E6033 #337E3B
split-complementary
#33517E #7E3B33 #777E33
monochromatic
#101927 #213552 #33517E #456DAA #698DC2

Accessibility & contrast

On white

8.02
#33517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#33517E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33517E
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33517E#FFFFFF#000000##FFFFFF
##33517E1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#354D7D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #33517e;
/* rgb */ color: rgb(51, 81, 126);
/* oklch */ color: oklch(43.3% 0.083 258.3);
Tailwind
colors: {
  custom: {
    50: '#7181a3',
    500: '#33517e',
    950: '#000000',
  },
}
SCSS
$custom: #33517e;
$custom-light: #7181a3;
$custom-dark: #000000;
JSON
{
  "hex": "#33517e",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 216,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43345,
    "c": 0.08313,
    "h": 258.3
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#33517E
secondary
#AA8E63
accent
#A056D2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #33517E

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

Preview Lab → · Contrast checker → · Palette generator →

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