#33257E#33257E

#33257E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.143 H 283.0°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#33257E
RGBrgb(51, 37, 126)
HSLhsl(249, 55%, 32%)
HSVhsv(249, 71%, 49%)
CMYKcmyk(59.5%, 70.6%, 0%, 50.6%)
CIE-LABlab(22.06, 32.69, -48.27)
CIE-LCHlch(22.06, 58.30, 304.10°)
OKLaboklab(34.22% 0.0321 -0.1389)
OKLCHoklch(34.22% 0.143 283)
XYZxyz(5.7915, 3.5329, 20.1114)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33257E #707E25
analogous
#25447E #33257E #60257E
triadic
#33257E #7E3325 #257E33
tetradic
#33257E #7E2544 #707E25 #257E60
square
#33257E #7E2544 #707E25 #257E60
split-complementary
#33257E #7E6025 #447E25
monochromatic
#0D091F #20174F #33257E #4633AD #6551CC

Accessibility & contrast

On white

12.31
#33257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#33257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33257E
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33257E#FFFFFF#000000##FFFFFF
##33257E1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#093C4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #33257e;
/* rgb */ color: rgb(51, 37, 126);
/* oklch */ color: oklch(34.2% 0.143 283.0);
Tailwind
colors: {
  custom: {
    50: '#7461a4',
    500: '#33257e',
    950: '#000000',
  },
}
SCSS
$custom: #33257e;
$custom-light: #7461a4;
$custom-dark: #000000;
JSON
{
  "hex": "#33257e",
  "rgb": {
    "r": 51,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 249.438,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34216,
    "c": 0.1426,
    "h": 283
  },
  "luminance": 0.03533
}

Semantic roles & 50–950 ramp

primary
#33257E
secondary
#A1B04F
accent
#DE4AC7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33257E

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

Preview Lab → · Contrast checker → · Palette generator →

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