#33519F#33519F

#33519F is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.131 H 265.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#33519F
RGBrgb(51, 81, 159)
HSLhsl(223, 51%, 41%)
HSVhsv(223, 68%, 62%)
CMYKcmyk(67.9%, 49.1%, 0%, 37.6%)
CIE-LABlab(36.16, 15.57, -45.75)
CIE-LCHlch(36.16, 48.33, 288.80°)
OKLaboklab(45.51% -0.01 -0.1311)
OKLCHoklch(45.51% 0.131 265.6)
XYZxyz(10.5635, 9.0909, 33.9922)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33519F #9F8133
analogous
#33879F #33519F #4B339F
triadic
#33519F #9F3351 #519F33
tetradic
#33519F #9F3387 #9F8133 #339F4B
square
#33519F #9F3387 #9F8133 #339F4B
split-complementary
#33519F #9F4B33 #879F33
monochromatic
#152242 #243971 #33519F #4A6CC5 #7992D4

Accessibility & contrast

On white

7.45
#33519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#33519F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33519F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33519F#FFFFFF#000000##FFFFFF
##33519F1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA2
Deuteranopia (green-blind)
#0D509D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #33519f;
/* rgb */ color: rgb(51, 81, 159);
/* oklch */ color: oklch(45.5% 0.131 265.6);
Tailwind
colors: {
  custom: {
    50: '#7781bc',
    500: '#33519f',
    950: '#000000',
  },
}
SCSS
$custom: #33519f;
$custom-light: #7781bc;
$custom-dark: #000000;
JSON
{
  "hex": "#33519f",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 223.333,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45513,
    "c": 0.13147,
    "h": 265.6
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#33519F
secondary
#BCA871
accent
#B34DDB
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #33519F

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

Preview Lab → · Contrast checker → · Palette generator →

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