#33258E#33258E

#33258E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.164 H 280.2°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#33258E
RGBrgb(51, 37, 142)
HSLhsl(248, 59%, 35%)
HSVhsv(248, 74%, 56%)
CMYKcmyk(64.1%, 73.9%, 0%, 44.3%)
CIE-LABlab(23.60, 37.95, -55.78)
CIE-LCHlch(23.60, 67.47, 304.23°)
OKLaboklab(35.79% 0.0291 -0.1609)
OKLCHoklch(35.79% 0.164 280.2)
XYZxyz(6.9077, 3.9794, 25.9900)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33258E #808E25
analogous
#254B8E #33258E #67258E
triadic
#33258E #8E3325 #258E33
tetradic
#33258E #8E254B #808E25 #258E67
square
#33258E #8E254B #808E25 #258E67
split-complementary
#33258E #8E6725 #4B8E25
monochromatic
#100C2D #22185D #33258E #4432BF #6A5AD4

Accessibility & contrast

On white

11.69
#33258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33258E
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33258E#FFFFFF#000000##FFFFFF
##33258E1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33258e;
/* rgb */ color: rgb(51, 37, 142);
/* oklch */ color: oklch(35.8% 0.164 280.2);
Tailwind
colors: {
  custom: {
    50: '#7761b0',
    500: '#33258e',
    950: '#000000',
  },
}
SCSS
$custom: #33258e;
$custom-light: #7761b0;
$custom-dark: #000000;
JSON
{
  "hex": "#33258e",
  "rgb": {
    "r": 51,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 248,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35787,
    "c": 0.16353,
    "h": 280.2
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33258E

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

Preview Lab → · Contrast checker → · Palette generator →

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