#33298F#33298F

#33298F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.160 H 279.3°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#33298F
RGBrgb(51, 41, 143)
HSLhsl(246, 55%, 36%)
HSVhsv(246, 71%, 56%)
CMYKcmyk(64.3%, 71.3%, 0%, 43.9%)
CIE-LABlab(24.55, 35.93, -54.84)
CIE-LCHlch(24.55, 65.56, 303.23°)
OKLaboklab(36.49% 0.0259 -0.1582)
OKLCHoklch(36.49% 0.16 279.3)
XYZxyz(7.1145, 4.2723, 26.4310)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33298F #858F29
analogous
#29528F #33298F #66298F
triadic
#33298F #8F3329 #298F33
tetradic
#33298F #8F2952 #858F29 #298F66
square
#33298F #8F2952 #858F29 #298F66
split-complementary
#33298F #8F6629 #528F29
monochromatic
#110E30 #221B5F #33298F #4437BF #6C61D2

Accessibility & contrast

On white

11.32
#33298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#33298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33298F
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33298F#FFFFFF#000000##FFFFFF
##33298F1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33298f;
/* rgb */ color: rgb(51, 41, 143);
/* oklch */ color: oklch(36.5% 0.160 279.3);
Tailwind
colors: {
  custom: {
    50: '#7764b1',
    500: '#33298f',
    950: '#000000',
  },
}
SCSS
$custom: #33298f;
$custom-light: #7764b1;
$custom-dark: #000000;
JSON
{
  "hex": "#33298f",
  "rgb": {
    "r": 51,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 245.882,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36494,
    "c": 0.16029,
    "h": 279.3
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

primary
#33298F
secondary
#AEB75C
accent
#DF49D0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #33298F

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

Preview Lab → · Contrast checker → · Palette generator →

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