#33408F#33408F

#33408F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.131 H 272.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#33408F
RGBrgb(51, 64, 143)
HSLhsl(232, 47%, 38%)
HSVhsv(232, 64%, 56%)
CMYKcmyk(64.3%, 55.2%, 0%, 43.9%)
CIE-LABlab(30.29, 21.02, -45.50)
CIE-LCHlch(30.29, 50.12, 294.79°)
OKLaboklab(40.71% 0.0051 -0.1306)
OKLCHoklch(40.71% 0.131 272.2)
XYZxyz(8.1549, 6.3531, 26.7778)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33408F #8F8233
analogous
#336E8F #33408F #54338F
triadic
#33408F #8F3340 #408F33
tetradic
#33408F #8F336E #8F8233 #338F54
square
#33408F #8F336E #8F8233 #338F54
split-complementary
#33408F #8F5433 #6E8F33
monochromatic
#131835 #232C62 #33408F #4354BC #707DCC

Accessibility & contrast

On white

9.25
#33408F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#33408F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33408F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33408F#FFFFFF#000000##FFFFFF
##33408F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094C92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #33408f;
/* rgb */ color: rgb(51, 64, 143);
/* oklch */ color: oklch(40.7% 0.131 272.2);
Tailwind
colors: {
  custom: {
    50: '#7574b0',
    500: '#33408f',
    950: '#000000',
  },
}
SCSS
$custom: #33408f;
$custom-light: #7574b0;
$custom-dark: #000000;
JSON
{
  "hex": "#33408f",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 231.522,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40708,
    "c": 0.1307,
    "h": 272.2
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#33408F
secondary
#B4AA6A
accent
#C451D7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #33408F

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

Preview Lab → · Contrast checker → · Palette generator →

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