#33238F#33238F

#33238F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.167 H 280.4°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#33238F
RGBrgb(51, 35, 143)
HSLhsl(249, 61%, 35%)
HSVhsv(249, 76%, 56%)
CMYKcmyk(64.3%, 75.5%, 0%, 43.9%)
CIE-LABlab(23.30, 39.41, -56.90)
CIE-LCHlch(23.30, 69.22, 304.71°)
OKLaboklab(35.6% 0.0303 -0.1642)
OKLCHoklch(35.6% 0.167 280.4)
XYZxyz(6.9226, 3.8885, 26.3670)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33238F #7F8F23
analogous
#23498F #33238F #69238F
triadic
#33238F #8F3323 #238F33
tetradic
#33238F #8F2349 #7F8F23 #238F69
square
#33238F #8F2349 #7F8F23 #238F69
split-complementary
#33238F #8F6923 #498F23
monochromatic
#100B2D #21175E #33238F #452FC0 #6957D6

Accessibility & contrast

On white

11.81
#33238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#33238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33238F
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33238F#FFFFFF#000000##FFFFFF
##33238F1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #33238f;
/* rgb */ color: rgb(51, 35, 143);
/* oklch */ color: oklch(35.6% 0.167 280.4);
Tailwind
colors: {
  custom: {
    50: '#7760b1',
    500: '#33238f',
    950: '#000000',
  },
}
SCSS
$custom: #33238f;
$custom-light: #7760b1;
$custom-dark: #000000;
JSON
{
  "hex": "#33238f",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 248.889,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35602,
    "c": 0.16695,
    "h": 280.4
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#33238F
secondary
#ABBA54
accent
#E444CC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #33238F

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

Preview Lab → · Contrast checker → · Palette generator →

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