#33518F#33518F

#33518F is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.108 H 263.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#33518F
RGBrgb(51, 81, 143)
HSLhsl(220, 47%, 38%)
HSVhsv(220, 64%, 56%)
CMYKcmyk(64.3%, 43.4%, 0%, 43.9%)
CIE-LABlab(35.14, 9.65, -37.70)
CIE-LCHlch(35.14, 38.91, 284.36°)
OKLaboklab(44.41% -0.0128 -0.1074)
OKLCHoklch(44.41% 0.108 263.2)
XYZxyz(9.2639, 8.5710, 27.1474)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33518F #8F7133
analogous
#337F8F #33518F #43338F
triadic
#33518F #8F3351 #518F33
tetradic
#33518F #8F337F #8F7133 #338F43
square
#33518F #8F337F #8F7133 #338F43
split-complementary
#33518F #8F4333 #7F8F33
monochromatic
#131E35 #233762 #33518F #436BBC #708ECC

Accessibility & contrast

On white

7.74
#33518F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#33518F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33518F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33518F#FFFFFF#000000##FFFFFF
##33518F1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#274F8E
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #33518f;
/* rgb */ color: rgb(51, 81, 143);
/* oklch */ color: oklch(44.4% 0.108 263.2);
Tailwind
colors: {
  custom: {
    50: '#7481b0',
    500: '#33518f',
    950: '#000000',
  },
}
SCSS
$custom: #33518f;
$custom-light: #7481b0;
$custom-dark: #000000;
JSON
{
  "hex": "#33518f",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 220.435,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44408,
    "c": 0.10819,
    "h": 263.2
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#33518F
secondary
#B49C6A
accent
#AB51D7
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #33518F

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

Preview Lab → · Contrast checker → · Palette generator →

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