#33257A#33257A

#33257A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.137 H 283.8°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#33257A
RGBrgb(51, 37, 122)
HSLhsl(250, 53%, 31%)
HSVhsv(250, 70%, 48%)
CMYKcmyk(58.2%, 69.7%, 0%, 52.2%)
CIE-LABlab(21.70, 31.36, -46.33)
CIE-LCHlch(21.70, 55.95, 304.09°)
OKLaboklab(33.84% 0.0328 -0.1332)
OKLCHoklch(33.84% 0.137 283.8)
XYZxyz(5.5386, 3.4318, 18.7791)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33257A #6C7A25
analogous
#25417A #33257A #5D257A
triadic
#33257A #7A3325 #257A33
tetradic
#33257A #7A2541 #6C7A25 #257A5D
square
#33257A #7A2541 #6C7A25 #257A5D
split-complementary
#33257A #7A5D25 #417A25
monochromatic
#0C091C #1F174B #33257A #4733A9 #6450CA

Accessibility & contrast

On white

12.45
#33257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#33257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33257A
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33257A#FFFFFF#000000##FFFFFF
##33257A1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#103B4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #33257a;
/* rgb */ color: rgb(51, 37, 122);
/* oklch */ color: oklch(33.8% 0.137 283.8);
Tailwind
colors: {
  custom: {
    50: '#7361a1',
    500: '#33257a',
    950: '#000000',
  },
}
SCSS
$custom: #33257a;
$custom-light: #7361a1;
$custom-dark: #000000;
JSON
{
  "hex": "#33257a",
  "rgb": {
    "r": 51,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 249.882,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33839,
    "c": 0.13721,
    "h": 283.8
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#33257A
secondary
#9DAC4E
accent
#DD4BC5
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33257A

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

Preview Lab → · Contrast checker → · Palette generator →

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