#33419E#33419E

#33419E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.151 H 271.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#33419E
RGBrgb(51, 65, 158)
HSLhsl(232, 51%, 41%)
HSVhsv(232, 68%, 62%)
CMYKcmyk(67.7%, 58.9%, 0%, 38%)
CIE-LABlab(31.70, 25.83, -52.36)
CIE-LCHlch(31.70, 58.38, 296.26°)
OKLaboklab(42.13% 0.0047 -0.1508)
OKLCHoklch(42.13% 0.151 271.8)
XYZxyz(9.4250, 6.9522, 33.1863)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33419E #9E9033
analogous
#33769E #33419E #5B339E
triadic
#33419E #9E3341 #419E33
tetradic
#33419E #9E3376 #9E9033 #339E5B
square
#33419E #9E3376 #9E9033 #339E5B
split-complementary
#33419E #9E5B33 #769E33
monochromatic
#151B41 #242E70 #33419E #4A5AC4 #7884D3

Accessibility & contrast

On white

8.78
#33419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#33419E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33419E
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33419E#FFFFFF#000000##FFFFFF
##33419E1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #33419e;
/* rgb */ color: rgb(51, 65, 158);
/* oklch */ color: oklch(42.1% 0.151 271.8);
Tailwind
colors: {
  custom: {
    50: '#7875bb',
    500: '#33419e',
    950: '#000000',
  },
}
SCSS
$custom: #33419e;
$custom-light: #7875bb;
$custom-dark: #000000;
JSON
{
  "hex": "#33419e",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 232.15,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42125,
    "c": 0.15083,
    "h": 271.8
  },
  "luminance": 0.06953
}

Semantic roles & 50–950 ramp

primary
#33419E
secondary
#BCB271
accent
#C84DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #33419E

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

Preview Lab → · Contrast checker → · Palette generator →

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