#33419D#33419D

#33419D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.149 H 271.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#33419D
RGBrgb(51, 65, 157)
HSLhsl(232, 51%, 41%)
HSVhsv(232, 68%, 62%)
CMYKcmyk(67.5%, 58.6%, 0%, 38.4%)
CIE-LABlab(31.62, 25.47, -51.88)
CIE-LCHlch(31.62, 57.79, 296.15°)
OKLaboklab(42.04% 0.0047 -0.1494)
OKLCHoklch(42.04% 0.149 271.8)
XYZxyz(9.3393, 6.9179, 32.7349)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33419D #9D8F33
analogous
#33769D #33419D #5A339D
triadic
#33419D #9D3341 #419D33
tetradic
#33419D #9D3376 #9D8F33 #339D5A
square
#33419D #9D3376 #9D8F33 #339D5A
split-complementary
#33419D #9D5A33 #769D33
monochromatic
#151B41 #242E6F #33419D #4959C4 #7784D3

Accessibility & contrast

On white

8.81
#33419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#33419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33419D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33419D#FFFFFF#000000##FFFFFF
##33419D1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #33419d;
/* rgb */ color: rgb(51, 65, 157);
/* oklch */ color: oklch(42.0% 0.149 271.8);
Tailwind
colors: {
  custom: {
    50: '#7875bb',
    500: '#33419d',
    950: '#000000',
  },
}
SCSS
$custom: #33419d;
$custom-light: #7875bb;
$custom-dark: #000000;
JSON
{
  "hex": "#33419d",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 232.075,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42042,
    "c": 0.14943,
    "h": 271.8
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#33419D
secondary
#BBB170
accent
#C84DDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #33419D

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

Preview Lab → · Contrast checker → · Palette generator →

#33419D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva