#33408E#33408E

#33408E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.129 H 272.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#33408E
RGBrgb(51, 64, 142)
HSLhsl(231, 47%, 38%)
HSVhsv(231, 64%, 56%)
CMYKcmyk(64.1%, 54.9%, 0%, 44.3%)
CIE-LABlab(30.21, 20.65, -45.00)
CIE-LCHlch(30.21, 49.52, 294.65°)
OKLaboklab(40.63% 0.0051 -0.1291)
OKLCHoklch(40.63% 0.129 272.2)
XYZxyz(8.0795, 6.3229, 26.3806)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33408E #8E8133
analogous
#336D8E #33408E #54338E
triadic
#33408E #8E3340 #408E33
tetradic
#33408E #8E336D #8E8133 #338E54
square
#33408E #8E336D #8E8133 #338E54
split-complementary
#33408E #8E5433 #6D8E33
monochromatic
#131734 #232C61 #33408E #4354BB #707DCC

Accessibility & contrast

On white

9.27
#33408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#33408E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33408E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33408E#FFFFFF#000000##FFFFFF
##33408E1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4B91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #33408e;
/* rgb */ color: rgb(51, 64, 142);
/* oklch */ color: oklch(40.6% 0.129 272.2);
Tailwind
colors: {
  custom: {
    50: '#7574b0',
    500: '#33408e',
    950: '#000000',
  },
}
SCSS
$custom: #33408e;
$custom-light: #7574b0;
$custom-dark: #000000;
JSON
{
  "hex": "#33408e",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 231.429,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4063,
    "c": 0.12924,
    "h": 272.2
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#33408E
secondary
#B4A969
accent
#C451D7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #33408E

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

Preview Lab → · Contrast checker → · Palette generator →

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