#33519A#33519A

#33519A is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.124 H 265.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#33519A
RGBrgb(51, 81, 154)
HSLhsl(223, 50%, 40%)
HSVhsv(223, 67%, 60%)
CMYKcmyk(66.9%, 47.4%, 0%, 39.6%)
CIE-LABlab(35.83, 13.72, -43.26)
CIE-LCHlch(35.83, 45.39, 287.59°)
OKLaboklab(45.16% -0.0108 -0.1238)
OKLCHoklch(45.16% 0.124 265)
XYZxyz(10.1384, 8.9208, 31.7532)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33519A #9A7C33
analogous
#33859A #33519A #48339A
triadic
#33519A #9A3351 #519A33
tetradic
#33519A #9A3385 #9A7C33 #339A48
square
#33519A #9A3385 #9A7C33 #339A48
split-complementary
#33519A #9A4833 #859A33
monochromatic
#15213E #24396C #33519A #486CC2 #7691D2

Accessibility & contrast

On white

7.54
#33519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#33519A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33519A
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33519A#FFFFFF#000000##FFFFFF
##33519A1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599D
Deuteranopia (green-blind)
#185098
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #33519a;
/* rgb */ color: rgb(51, 81, 154);
/* oklch */ color: oklch(45.2% 0.124 265.0);
Tailwind
colors: {
  custom: {
    50: '#7681b8',
    500: '#33519a',
    950: '#000000',
  },
}
SCSS
$custom: #33519a;
$custom-light: #7681b8;
$custom-dark: #000000;
JSON
{
  "hex": "#33519a",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 222.524,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45158,
    "c": 0.12425,
    "h": 265
  },
  "luminance": 0.08922
}

Semantic roles & 50–950 ramp

primary
#33519A
secondary
#BAA46F
accent
#B14EDA
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #33519A

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

Preview Lab → · Contrast checker → · Palette generator →

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