#33298E#33298E

#33298E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.159 H 279.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#33298E
RGBrgb(51, 41, 142)
HSLhsl(246, 55%, 36%)
HSVhsv(246, 71%, 56%)
CMYKcmyk(64.1%, 71.1%, 0%, 44.3%)
CIE-LABlab(24.46, 35.59, -54.38)
CIE-LCHlch(24.46, 64.99, 303.20°)
OKLaboklab(36.4% 0.026 -0.1568)
OKLCHoklch(36.4% 0.159 279.4)
XYZxyz(7.0391, 4.2421, 26.0338)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33298E #848E29
analogous
#29518E #33298E #65298E
triadic
#33298E #8E3329 #298E33
tetradic
#33298E #8E2951 #848E29 #298E65
square
#33298E #8E2951 #848E29 #298E65
split-complementary
#33298E #8E6529 #518E29
monochromatic
#110E2F #221B5F #33298E #4437BD #6B60D1

Accessibility & contrast

On white

11.36
#33298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33298E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33298E#FFFFFF#000000##FFFFFF
##33298E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33298e;
/* rgb */ color: rgb(51, 41, 142);
/* oklch */ color: oklch(36.4% 0.159 279.4);
Tailwind
colors: {
  custom: {
    50: '#7664b0',
    500: '#33298e',
    950: '#000000',
  },
}
SCSS
$custom: #33298e;
$custom-light: #7664b0;
$custom-dark: #000000;
JSON
{
  "hex": "#33298e",
  "rgb": {
    "r": 51,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 245.941,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36396,
    "c": 0.15898,
    "h": 279.4
  },
  "luminance": 0.04243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33298E

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

Preview Lab → · Contrast checker → · Palette generator →

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