#33519E#33519E

#33519E is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.130 H 265.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#33519E
RGBrgb(51, 81, 158)
HSLhsl(223, 51%, 41%)
HSVhsv(223, 68%, 62%)
CMYKcmyk(67.7%, 48.7%, 0%, 38%)
CIE-LABlab(36.09, 15.20, -45.25)
CIE-LCHlch(36.09, 47.74, 288.57°)
OKLaboklab(45.44% -0.0102 -0.1296)
OKLCHoklch(45.44% 0.13 265.5)
XYZxyz(10.4771, 9.0563, 33.5370)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33519E #9E8033
analogous
#33869E #33519E #4B339E
triadic
#33519E #9E3351 #519E33
tetradic
#33519E #9E3386 #9E8033 #339E4B
square
#33519E #9E3386 #9E8033 #339E4B
split-complementary
#33519E #9E4B33 #869E33
monochromatic
#152241 #243970 #33519E #4A6CC4 #7892D3

Accessibility & contrast

On white

7.47
#33519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#33519E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33519E
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33519E#FFFFFF#000000##FFFFFF
##33519E1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA1
Deuteranopia (green-blind)
#10509C
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #33519e;
/* rgb */ color: rgb(51, 81, 158);
/* oklch */ color: oklch(45.4% 0.130 265.5);
Tailwind
colors: {
  custom: {
    50: '#7781bb',
    500: '#33519e',
    950: '#000000',
  },
}
SCSS
$custom: #33519e;
$custom-light: #7781bb;
$custom-dark: #000000;
JSON
{
  "hex": "#33519e",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 223.178,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45441,
    "c": 0.13003,
    "h": 265.5
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33519E

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

Preview Lab → · Contrast checker → · Palette generator →

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