#33298D#33298D

#33298D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.158 H 279.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#33298D
RGBrgb(51, 41, 141)
HSLhsl(246, 55%, 36%)
HSVhsv(246, 71%, 55%)
CMYKcmyk(63.8%, 70.9%, 0%, 44.7%)
CIE-LABlab(24.36, 35.26, -53.92)
CIE-LCHlch(24.36, 64.42, 303.18°)
OKLaboklab(36.3% 0.0262 -0.1555)
OKLCHoklch(36.3% 0.158 279.6)
XYZxyz(6.9644, 4.2122, 25.6402)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33298D #838D29
analogous
#29518D #33298D #65298D
triadic
#33298D #8D3329 #298D33
tetradic
#33298D #8D2951 #838D29 #298D65
square
#33298D #8D2951 #838D29 #298D65
split-complementary
#33298D #8D6529 #518D29
monochromatic
#110D2E #221B5E #33298D #4437BC #6B60D1

Accessibility & contrast

On white

11.40
#33298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#33298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33298D
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33298D#FFFFFF#000000##FFFFFF
##33298D1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33298d;
/* rgb */ color: rgb(51, 41, 141);
/* oklch */ color: oklch(36.3% 0.158 279.6);
Tailwind
colors: {
  custom: {
    50: '#7664af',
    500: '#33298d',
    950: '#000000',
  },
}
SCSS
$custom: #33298d;
$custom-light: #7664af;
$custom-dark: #000000;
JSON
{
  "hex": "#33298d",
  "rgb": {
    "r": 51,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 246,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36299,
    "c": 0.15766,
    "h": 279.6
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#33298D
secondary
#ADB65B
accent
#DE4ACF
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #33298D

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

Preview Lab → · Contrast checker → · Palette generator →

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