#33518A#33518A

#33518A is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.1% C 0.101 H 262.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#33518A
RGBrgb(51, 81, 138)
HSLhsl(219, 46%, 37%)
HSVhsv(219, 63%, 54%)
CMYKcmyk(63%, 41.3%, 0%, 45.9%)
CIE-LABlab(34.85, 7.82, -35.12)
CIE-LCHlch(34.85, 35.98, 282.55°)
OKLaboklab(44.08% -0.0138 -0.0999)
OKLCHoklch(44.08% 0.101 262.1)
XYZxyz(8.8935, 8.4229, 25.1969)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33518A #8A6C33
analogous
#337D8A #33518A #40338A
triadic
#33518A #8A3351 #518A33
tetradic
#33518A #8A337D #8A6C33 #338A40
square
#33518A #8A337D #8A6C33 #338A40
split-complementary
#33518A #8A4033 #7D8A33
monochromatic
#121D31 #22375D #33518A #446BB7 #6E8EC9

Accessibility & contrast

On white

7.82
#33518A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#33518A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33518A
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33518A#FFFFFF#000000##FFFFFF
##33518A1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #33518a;
/* rgb */ color: rgb(51, 81, 138);
/* oklch */ color: oklch(44.1% 0.101 262.1);
Tailwind
colors: {
  custom: {
    50: '#7381ac',
    500: '#33518a',
    950: '#000000',
  },
}
SCSS
$custom: #33518a;
$custom-light: #7381ac;
$custom-dark: #000000;
JSON
{
  "hex": "#33518a",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 219.31,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44083,
    "c": 0.10082,
    "h": 262.1
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#33518A
secondary
#B19867
accent
#A852D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #33518A

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

Preview Lab → · Contrast checker → · Palette generator →

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