#33238D#33238D

#33238D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.164 H 280.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#33238D
RGBrgb(51, 35, 141)
HSLhsl(249, 60%, 35%)
HSVhsv(249, 75%, 55%)
CMYKcmyk(63.8%, 75.2%, 0%, 44.7%)
CIE-LABlab(23.10, 38.77, -55.99)
CIE-LCHlch(23.10, 68.11, 304.70°)
OKLaboklab(35.4% 0.0308 -0.1615)
OKLCHoklch(35.4% 0.164 280.8)
XYZxyz(6.7725, 3.8285, 25.5762)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33238D #7D8D23
analogous
#23488D #33238D #68238D
triadic
#33238D #8D3323 #238D33
tetradic
#33238D #8D2348 #7D8D23 #238D68
square
#33238D #8D2348 #7D8D23 #238D68
split-complementary
#33238D #8D6823 #488D23
monochromatic
#100B2B #21175C #33238D #452FBE #6955D5

Accessibility & contrast

On white

11.89
#33238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#33238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33238D
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33238D#FFFFFF#000000##FFFFFF
##33238D1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #33238d;
/* rgb */ color: rgb(51, 35, 141);
/* oklch */ color: oklch(35.4% 0.164 280.8);
Tailwind
colors: {
  custom: {
    50: '#7760af',
    500: '#33238d',
    950: '#000000',
  },
}
SCSS
$custom: #33238d;
$custom-light: #7760af;
$custom-dark: #000000;
JSON
{
  "hex": "#33238d",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 249.057,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35397,
    "c": 0.16443,
    "h": 280.8
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

primary
#33238D
secondary
#AAB953
accent
#E344CB
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #33238D

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

Preview Lab → · Contrast checker → · Palette generator →

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