#33258F#33258F

#33258F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.165 H 280.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#33258F
RGBrgb(51, 37, 143)
HSLhsl(248, 59%, 35%)
HSVhsv(248, 74%, 56%)
CMYKcmyk(64.3%, 74.1%, 0%, 43.9%)
CIE-LABlab(23.70, 38.28, -56.24)
CIE-LCHlch(23.70, 68.03, 304.24°)
OKLaboklab(35.89% 0.0289 -0.1622)
OKLCHoklch(35.89% 0.165 280.1)
XYZxyz(6.9832, 4.0096, 26.3872)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33258F #818F25
analogous
#254C8F #33258F #68258F
triadic
#33258F #8F3325 #258F33
tetradic
#33258F #8F254C #818F25 #258F68
square
#33258F #8F254C #818F25 #258F68
split-complementary
#33258F #8F6825 #4C8F25
monochromatic
#100C2E #22185E #33258F #4432C0 #6A5AD4

Accessibility & contrast

On white

11.65
#33258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#33258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33258F
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33258F#FFFFFF#000000##FFFFFF
##33258F1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #33258f;
/* rgb */ color: rgb(51, 37, 143);
/* oklch */ color: oklch(35.9% 0.165 280.1);
Tailwind
colors: {
  custom: {
    50: '#7761b1',
    500: '#33258f',
    950: '#000000',
  },
}
SCSS
$custom: #33258f;
$custom-light: #7761b1;
$custom-dark: #000000;
JSON
{
  "hex": "#33258f",
  "rgb": {
    "r": 51,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 247.925,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35888,
    "c": 0.1648,
    "h": 280.1
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#33258F
secondary
#ACB957
accent
#E246CD
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #33258F

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

Preview Lab → · Contrast checker → · Palette generator →

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