#33299D#33299D

#33299D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.178 H 277.5°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#33299D
RGBrgb(51, 41, 157)
HSLhsl(245, 59%, 39%)
HSVhsv(245, 74%, 62%)
CMYKcmyk(67.5%, 73.9%, 0%, 38.4%)
CIE-LABlab(25.93, 40.57, -61.19)
CIE-LCHlch(25.93, 73.41, 303.55°)
OKLaboklab(37.9% 0.0232 -0.1767)
OKLCHoklch(37.9% 0.178 277.5)
XYZxyz(8.2420, 4.7233, 32.3691)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33299D #939D29
analogous
#29599D #33299D #6D299D
triadic
#33299D #9D3329 #299D33
tetradic
#33299D #9D2959 #939D29 #299D6D
square
#33299D #9D2959 #939D29 #299D6D
split-complementary
#33299D #9D6D29 #599D29
monochromatic
#13103C #231C6C #33299D #4538CB #7269D8

Accessibility & contrast

On white

10.80
#33299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#33299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33299D
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33299D#FFFFFF#000000##FFFFFF
##33299D1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #33299d;
/* rgb */ color: rgb(51, 41, 157);
/* oklch */ color: oklch(37.9% 0.178 277.5);
Tailwind
colors: {
  custom: {
    50: '#7a65bb',
    500: '#33299d',
    950: '#000000',
  },
}
SCSS
$custom: #33299d;
$custom-light: #7a65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#33299d",
  "rgb": {
    "r": 51,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 245.172,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37896,
    "c": 0.17824,
    "h": 277.5
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

primary
#33299D
secondary
#B6BE64
accent
#E246D4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #33299D

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

Preview Lab → · Contrast checker → · Palette generator →

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