#33258B#33258B

#33258B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.160 H 280.7°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#33258B
RGBrgb(51, 37, 139)
HSLhsl(248, 58%, 35%)
HSVhsv(248, 73%, 55%)
CMYKcmyk(63.3%, 73.4%, 0%, 45.5%)
CIE-LABlab(23.31, 36.97, -54.40)
CIE-LCHlch(23.31, 65.78, 304.20°)
OKLaboklab(35.49% 0.0297 -0.1569)
OKLCHoklch(35.49% 0.16 280.7)
XYZxyz(6.6855, 3.8905, 24.8197)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33258B #7D8B25
analogous
#254A8B #33258B #66258B
triadic
#33258B #8B3325 #258B33
tetradic
#33258B #8B254A #7D8B25 #258B66
square
#33258B #8B254A #7D8B25 #258B66
split-complementary
#33258B #8B6625 #4A8B25
monochromatic
#100B2A #21185B #33258B #4532BB #6958D3

Accessibility & contrast

On white

11.81
#33258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33258B
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33258B#FFFFFF#000000##FFFFFF
##33258B1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #33258b;
/* rgb */ color: rgb(51, 37, 139);
/* oklch */ color: oklch(35.5% 0.160 280.7);
Tailwind
colors: {
  custom: {
    50: '#7661ae',
    500: '#33258b',
    950: '#000000',
  },
}
SCSS
$custom: #33258b;
$custom-light: #7661ae;
$custom-dark: #000000;
JSON
{
  "hex": "#33258b",
  "rgb": {
    "r": 51,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 248.235,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35486,
    "c": 0.15968,
    "h": 280.7
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#33258B
secondary
#AAB755
accent
#E147CC
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #33258B

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

Preview Lab → · Contrast checker → · Palette generator →

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