#33408B#33408B

#33408B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.125 H 272.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#33408B
RGBrgb(51, 64, 139)
HSLhsl(231, 46%, 37%)
HSVhsv(231, 63%, 55%)
CMYKcmyk(63.3%, 54%, 0%, 45.5%)
CIE-LABlab(30.00, 19.56, -43.51)
CIE-LCHlch(30.00, 47.70, 294.20°)
OKLaboklab(40.4% 0.0048 -0.1247)
OKLCHoklch(40.4% 0.125 272.2)
XYZxyz(7.8573, 6.2340, 25.2103)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33408B #8B7E33
analogous
#336C8B #33408B #52338B
triadic
#33408B #8B3340 #408B33
tetradic
#33408B #8B336C #8B7E33 #338B52
square
#33408B #8B336C #8B7E33 #338B52
split-complementary
#33408B #8B5233 #6C8B33
monochromatic
#121731 #232B5E #33408B #4355B8 #6E7CCA

Accessibility & contrast

On white

9.35
#33408B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#33408B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33408B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33408B#FFFFFF#000000##FFFFFF
##33408B1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #33408b;
/* rgb */ color: rgb(51, 64, 139);
/* oklch */ color: oklch(40.4% 0.125 272.2);
Tailwind
colors: {
  custom: {
    50: '#7474ad',
    500: '#33408b',
    950: '#000000',
  },
}
SCSS
$custom: #33408b;
$custom-light: #7474ad;
$custom-dark: #000000;
JSON
{
  "hex": "#33408b",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 231.136,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40397,
    "c": 0.12483,
    "h": 272.2
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#33408B
secondary
#B2A768
accent
#C252D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #33408B

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

Preview Lab → · Contrast checker → · Palette generator →

#33408B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva