#33238B#33238B

#33238B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.162 H 281.1°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#33238B
RGBrgb(51, 35, 139)
HSLhsl(249, 60%, 34%)
HSVhsv(249, 75%, 55%)
CMYKcmyk(63.3%, 74.8%, 0%, 45.5%)
CIE-LABlab(22.89, 38.12, -55.08)
CIE-LCHlch(22.89, 66.99, 304.69°)
OKLaboklab(35.19% 0.0312 -0.1589)
OKLCHoklch(35.19% 0.162 281.1)
XYZxyz(6.6250, 3.7695, 24.7996)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33238B #7B8B23
analogous
#23478B #33238B #67238B
triadic
#33238B #8B3323 #238B33
tetradic
#33238B #8B2347 #7B8B23 #238B67
square
#33238B #8B2347 #7B8B23 #238B67
split-complementary
#33238B #8B6723 #478B23
monochromatic
#0F0A29 #21175A #33238B #452FBC #6854D4

Accessibility & contrast

On white

11.97
#33238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33238B
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33238B#FFFFFF#000000##FFFFFF
##33238B1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #33238b;
/* rgb */ color: rgb(51, 35, 139);
/* oklch */ color: oklch(35.2% 0.162 281.1);
Tailwind
colors: {
  custom: {
    50: '#7660ae',
    500: '#33238b',
    950: '#000000',
  },
}
SCSS
$custom: #33238b;
$custom-light: #7660ae;
$custom-dark: #000000;
JSON
{
  "hex": "#33238b",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 249.231,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35193,
    "c": 0.1619,
    "h": 281.1
  },
  "luminance": 0.0377
}

Semantic roles & 50–950 ramp

primary
#33238B
secondary
#A8B852
accent
#E345CB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #33238B

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

Preview Lab → · Contrast checker → · Palette generator →

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