#33408D#33408D

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

Color values

HEX#33408D
RGBrgb(51, 64, 141)
HSLhsl(231, 47%, 38%)
HSVhsv(231, 64%, 55%)
CMYKcmyk(63.8%, 54.6%, 0%, 44.7%)
CIE-LABlab(30.14, 20.29, -44.51)
CIE-LCHlch(30.14, 48.91, 294.50°)
OKLaboklab(40.55% 0.005 -0.1277)
OKLCHoklch(40.55% 0.128 272.2)
XYZxyz(8.0048, 6.2930, 25.9870)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33408D #8D8033
analogous
#336D8D #33408D #53338D
triadic
#33408D #8D3340 #408D33
tetradic
#33408D #8D336D #8D8033 #338D53
square
#33408D #8D336D #8D8033 #338D53
split-complementary
#33408D #8D5333 #6D8D33
monochromatic
#121733 #232C60 #33408D #4354BA #6F7DCB

Accessibility & contrast

On white

9.30
#33408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33408D
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33408D#FFFFFF#000000##FFFFFF
##33408D1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33408d;
/* rgb */ color: rgb(51, 64, 141);
/* oklch */ color: oklch(40.6% 0.128 272.2);
Tailwind
colors: {
  custom: {
    50: '#7474af',
    500: '#33408d',
    950: '#000000',
  },
}
SCSS
$custom: #33408d;
$custom-light: #7474af;
$custom-dark: #000000;
JSON
{
  "hex": "#33408d",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 231.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40552,
    "c": 0.12778,
    "h": 272.2
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#33408D
secondary
#B3A869
accent
#C351D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #33408D

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

Preview Lab → · Contrast checker → · Palette generator →

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