#33258A#33258A

#33258A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.158 H 280.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#33258A
RGBrgb(51, 37, 138)
HSLhsl(248, 58%, 34%)
HSVhsv(248, 73%, 54%)
CMYKcmyk(63%, 73.2%, 0%, 45.9%)
CIE-LABlab(23.21, 36.65, -53.94)
CIE-LCHlch(23.21, 65.21, 304.19°)
OKLaboklab(35.39% 0.0299 -0.1555)
OKLCHoklch(35.39% 0.158 280.9)
XYZxyz(6.6128, 3.8614, 24.4367)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33258A #7C8A25
analogous
#254A8A #33258A #66258A
triadic
#33258A #8A3325 #258A33
tetradic
#33258A #8A254A #7C8A25 #258A66
square
#33258A #8A254A #7C8A25 #258A66
split-complementary
#33258A #8A6625 #4A8A25
monochromatic
#0F0B29 #21185A #33258A #4532BA #6857D2

Accessibility & contrast

On white

11.85
#33258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#33258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33258A
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33258A#FFFFFF#000000##FFFFFF
##33258A1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #33258a;
/* rgb */ color: rgb(51, 37, 138);
/* oklch */ color: oklch(35.4% 0.158 280.9);
Tailwind
colors: {
  custom: {
    50: '#7661ad',
    500: '#33258a',
    950: '#000000',
  },
}
SCSS
$custom: #33258a;
$custom-light: #7661ad;
$custom-dark: #000000;
JSON
{
  "hex": "#33258a",
  "rgb": {
    "r": 51,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 248.317,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35386,
    "c": 0.15838,
    "h": 280.9
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#33258A
secondary
#A9B754
accent
#E147CC
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #33258A

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

Preview Lab → · Contrast checker → · Palette generator →

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