#33257D#33257D

#33257D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.141 H 283.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#33257D
RGBrgb(51, 37, 125)
HSLhsl(250, 54%, 32%)
HSVhsv(250, 70%, 49%)
CMYKcmyk(59.2%, 70.4%, 0%, 51%)
CIE-LABlab(21.97, 32.36, -47.79)
CIE-LCHlch(21.97, 57.71, 304.10°)
OKLaboklab(34.12% 0.0323 -0.1375)
OKLCHoklch(34.12% 0.141 283.2)
XYZxyz(5.7273, 3.5073, 19.7732)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33257D #6F7D25
analogous
#25437D #33257D #5F257D
triadic
#33257D #7D3325 #257D33
tetradic
#33257D #7D2543 #6F7D25 #257D5F
square
#33257D #7D2543 #6F7D25 #257D5F
split-complementary
#33257D #7D5F25 #437D25
monochromatic
#0C091F #20174E #33257D #4633AC #6451CB

Accessibility & contrast

On white

12.34
#33257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#33257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33257D
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33257D#FFFFFF#000000##FFFFFF
##33257D1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#0B3C4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #33257d;
/* rgb */ color: rgb(51, 37, 125);
/* oklch */ color: oklch(34.1% 0.141 283.2);
Tailwind
colors: {
  custom: {
    50: '#7361a3',
    500: '#33257d',
    950: '#000000',
  },
}
SCSS
$custom: #33257d;
$custom-light: #7361a3;
$custom-dark: #000000;
JSON
{
  "hex": "#33257d",
  "rgb": {
    "r": 51,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 249.545,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34122,
    "c": 0.14126,
    "h": 283.2
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#33257D
secondary
#A0AF4F
accent
#DE4AC6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33257D

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

Preview Lab → · Contrast checker → · Palette generator →

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