#33238C#33238C

#33238C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.163 H 280.9°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#33238C
RGBrgb(51, 35, 140)
HSLhsl(249, 60%, 34%)
HSVhsv(249, 75%, 55%)
CMYKcmyk(63.6%, 75%, 0%, 45.1%)
CIE-LABlab(22.99, 38.45, -55.54)
CIE-LCHlch(22.99, 67.55, 304.69°)
OKLaboklab(35.3% 0.031 -0.1602)
OKLCHoklch(35.3% 0.163 280.9)
XYZxyz(6.6984, 3.7988, 25.1861)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33238C #7C8C23
analogous
#23488C #33238C #68238C
triadic
#33238C #8C3323 #238C33
tetradic
#33238C #8C2348 #7C8C23 #238C68
square
#33238C #8C2348 #7C8C23 #238C68
split-complementary
#33238C #8C6823 #488C23
monochromatic
#0F0B2A #21175B #33238C #452FBD #6855D4

Accessibility & contrast

On white

11.93
#33238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#33238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33238C
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33238C#FFFFFF#000000##FFFFFF
##33238C1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #33238c;
/* rgb */ color: rgb(51, 35, 140);
/* oklch */ color: oklch(35.3% 0.163 280.9);
Tailwind
colors: {
  custom: {
    50: '#7760af',
    500: '#33238c',
    950: '#000000',
  },
}
SCSS
$custom: #33238c;
$custom-light: #7760af;
$custom-dark: #000000;
JSON
{
  "hex": "#33238c",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 249.143,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35295,
    "c": 0.16316,
    "h": 280.9
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#33238C
secondary
#A9B852
accent
#E345CB
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #33238C

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

Preview Lab → · Contrast checker → · Palette generator →

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