#33518C#33518C

#33518C is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.104 H 262.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#33518C
RGBrgb(51, 81, 140)
HSLhsl(220, 47%, 37%)
HSVhsv(220, 64%, 55%)
CMYKcmyk(63.6%, 42.1%, 0%, 45.1%)
CIE-LABlab(34.97, 8.55, -36.15)
CIE-LCHlch(34.97, 37.15, 283.31°)
OKLaboklab(44.21% -0.0134 -0.1029)
OKLCHoklch(44.21% 0.104 262.6)
XYZxyz(9.0396, 8.4813, 25.9665)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33518C #8C6E33
analogous
#337E8C #33518C #41338C
triadic
#33518C #8C3351 #518C33
tetradic
#33518C #8C337E #8C6E33 #338C41
square
#33518C #8C337E #8C6E33 #338C41
split-complementary
#33518C #8C4133 #7E8C33
monochromatic
#121D32 #23375F #33518C #436BB9 #6F8ECB

Accessibility & contrast

On white

7.79
#33518C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#33518C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33518C
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33518C#FFFFFF#000000##FFFFFF
##33518C1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578E
Deuteranopia (green-blind)
#2A4E8B
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #33518c;
/* rgb */ color: rgb(51, 81, 140);
/* oklch */ color: oklch(44.2% 0.104 262.6);
Tailwind
colors: {
  custom: {
    50: '#7381ae',
    500: '#33518c',
    950: '#000000',
  },
}
SCSS
$custom: #33518c;
$custom-light: #7381ae;
$custom-dark: #000000;
JSON
{
  "hex": "#33518c",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 140
  },
  "hsl": {
    "h": 219.775,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44212,
    "c": 0.10377,
    "h": 262.6
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#33518C
secondary
#B29968
accent
#AA52D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #33518C

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

Preview Lab → · Contrast checker → · Palette generator →

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