#33258C#33258C

#33258C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.161 H 280.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#33258C
RGBrgb(51, 37, 140)
HSLhsl(248, 58%, 35%)
HSVhsv(248, 74%, 55%)
CMYKcmyk(63.6%, 73.6%, 0%, 45.1%)
CIE-LABlab(23.40, 37.30, -54.86)
CIE-LCHlch(23.40, 66.34, 304.21°)
OKLaboklab(35.59% 0.0295 -0.1582)
OKLCHoklch(35.59% 0.161 280.6)
XYZxyz(6.7589, 3.9199, 25.2063)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33258C #7E8C25
analogous
#254B8C #33258C #66258C
triadic
#33258C #8C3325 #258C33
tetradic
#33258C #8C254B #7E8C25 #258C66
square
#33258C #8C254B #7E8C25 #258C66
split-complementary
#33258C #8C6625 #4B8C25
monochromatic
#100B2B #21185C #33258C #4532BC #6958D3

Accessibility & contrast

On white

11.77
#33258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#33258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33258C
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33258C#FFFFFF#000000##FFFFFF
##33258C1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #33258c;
/* rgb */ color: rgb(51, 37, 140);
/* oklch */ color: oklch(35.6% 0.161 280.6);
Tailwind
colors: {
  custom: {
    50: '#7661af',
    500: '#33258c',
    950: '#000000',
  },
}
SCSS
$custom: #33258c;
$custom-light: #7661af;
$custom-dark: #000000;
JSON
{
  "hex": "#33258c",
  "rgb": {
    "r": 51,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 248.155,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35586,
    "c": 0.16096,
    "h": 280.6
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#33258C
secondary
#AAB855
accent
#E146CC
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #33258C

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

Preview Lab → · Contrast checker → · Palette generator →

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