#33518D#33518D

#33518D is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.3% C 0.105 H 262.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#33518D
RGBrgb(51, 81, 141)
HSLhsl(220, 47%, 38%)
HSVhsv(220, 64%, 55%)
CMYKcmyk(63.8%, 42.6%, 0%, 44.7%)
CIE-LABlab(35.02, 8.92, -36.67)
CIE-LCHlch(35.02, 37.74, 283.67°)
OKLaboklab(44.28% -0.0132 -0.1044)
OKLCHoklch(44.28% 0.105 262.8)
XYZxyz(9.1137, 8.5109, 26.3566)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33518D #8D6F33
analogous
#337E8D #33518D #42338D
triadic
#33518D #8D3351 #518D33
tetradic
#33518D #8D337E #8D6F33 #338D42
square
#33518D #8D337E #8D6F33 #338D42
split-complementary
#33518D #8D4233 #7E8D33
monochromatic
#121D33 #233760 #33518D #436BBA #6F8ECB

Accessibility & contrast

On white

7.77
#33518D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33518D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33518D#FFFFFF#000000##FFFFFF
##33518D1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36578F
Deuteranopia (green-blind)
#294F8C
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #33518d;
/* rgb */ color: rgb(51, 81, 141);
/* oklch */ color: oklch(44.3% 0.105 262.8);
Tailwind
colors: {
  custom: {
    50: '#7481af',
    500: '#33518d',
    950: '#000000',
  },
}
SCSS
$custom: #33518d;
$custom-light: #7481af;
$custom-dark: #000000;
JSON
{
  "hex": "#33518d",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 220,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44277,
    "c": 0.10524,
    "h": 262.8
  },
  "luminance": 0.08512
}

Semantic roles & 50–950 ramp

primary
#33518D
secondary
#B39A69
accent
#AA51D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #33518D

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

Preview Lab → · Contrast checker → · Palette generator →

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