#33408C#33408C

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

Color values

HEX#33408C
RGBrgb(51, 64, 140)
HSLhsl(231, 47%, 37%)
HSVhsv(231, 64%, 55%)
CMYKcmyk(63.6%, 54.3%, 0%, 45.1%)
CIE-LABlab(30.07, 19.92, -44.01)
CIE-LCHlch(30.07, 48.31, 294.35°)
OKLaboklab(40.47% 0.0049 -0.1262)
OKLCHoklch(40.47% 0.126 272.2)
XYZxyz(7.9307, 6.2634, 25.5969)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33408C #8C7F33
analogous
#336D8C #33408C #53338C
triadic
#33408C #8C3340 #408C33
tetradic
#33408C #8C336D #8C7F33 #338C53
square
#33408C #8C336D #8C7F33 #338C53
split-complementary
#33408C #8C5333 #6D8C33
monochromatic
#121732 #232B5F #33408C #4355B9 #6F7CCB

Accessibility & contrast

On white

9.32
#33408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33408C
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33408C#FFFFFF#000000##FFFFFF
##33408C1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104B8F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #33408c;
/* rgb */ color: rgb(51, 64, 140);
/* oklch */ color: oklch(40.5% 0.126 272.2);
Tailwind
colors: {
  custom: {
    50: '#7474ae',
    500: '#33408c',
    950: '#000000',
  },
}
SCSS
$custom: #33408c;
$custom-light: #7474ae;
$custom-dark: #000000;
JSON
{
  "hex": "#33408c",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 231.236,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40474,
    "c": 0.12631,
    "h": 272.2
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#33408C
secondary
#B2A868
accent
#C352D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #33408C

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

Preview Lab → · Contrast checker → · Palette generator →

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