#33238A#33238A

#33238A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.161 H 281.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#33238A
RGBrgb(51, 35, 138)
HSLhsl(249, 60%, 34%)
HSVhsv(249, 75%, 54%)
CMYKcmyk(63%, 74.6%, 0%, 45.9%)
CIE-LABlab(22.79, 37.80, -54.62)
CIE-LCHlch(22.79, 66.43, 304.69°)
OKLaboklab(35.09% 0.0314 -0.1575)
OKLCHoklch(35.09% 0.161 281.3)
XYZxyz(6.5523, 3.7404, 24.4165)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33238A #7A8A23
analogous
#23478A #33238A #67238A
triadic
#33238A #8A3323 #238A33
tetradic
#33238A #8A2347 #7A8A23 #238A67
square
#33238A #8A2347 #7A8A23 #238A67
split-complementary
#33238A #8A6723 #478A23
monochromatic
#0F0A28 #211759 #33238A #452FBB #6854D4

Accessibility & contrast

On white

12.01
#33238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#33238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33238A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33238A#FFFFFF#000000##FFFFFF
##33238A1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003388
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33238a;
/* rgb */ color: rgb(51, 35, 138);
/* oklch */ color: oklch(35.1% 0.161 281.3);
Tailwind
colors: {
  custom: {
    50: '#7660ad',
    500: '#33238a',
    950: '#000000',
  },
}
SCSS
$custom: #33238a;
$custom-light: #7660ad;
$custom-dark: #000000;
JSON
{
  "hex": "#33238a",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 249.32,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35092,
    "c": 0.16062,
    "h": 281.3
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#33238A
secondary
#A8B751
accent
#E345CA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #33238A

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

Preview Lab → · Contrast checker → · Palette generator →

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