#33299B#33299B

#33299B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.176 H 277.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#33299B
RGBrgb(51, 41, 155)
HSLhsl(245, 58%, 38%)
HSVhsv(245, 74%, 61%)
CMYKcmyk(67.1%, 73.5%, 0%, 39.2%)
CIE-LABlab(25.73, 39.91, -60.30)
CIE-LCHlch(25.73, 72.31, 303.50°)
OKLaboklab(37.69% 0.0236 -0.1741)
OKLCHoklch(37.69% 0.176 277.7)
XYZxyz(8.0727, 4.6556, 31.4772)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33299B #919B29
analogous
#29589B #33299B #6C299B
triadic
#33299B #9B3329 #299B33
tetradic
#33299B #9B2958 #919B29 #299B6C
square
#33299B #9B2958 #919B29 #299B6C
split-complementary
#33299B #9B6C29 #589B29
monochromatic
#130F3A #231C6B #33299B #4437CA #7167D7

Accessibility & contrast

On white

10.87
#33299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#33299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33299B
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33299B#FFFFFF#000000##FFFFFF
##33299B1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #33299b;
/* rgb */ color: rgb(51, 41, 155);
/* oklch */ color: oklch(37.7% 0.176 277.7);
Tailwind
colors: {
  custom: {
    50: '#7964ba',
    500: '#33299b',
    950: '#000000',
  },
}
SCSS
$custom: #33299b;
$custom-light: #7964ba;
$custom-dark: #000000;
JSON
{
  "hex": "#33299b",
  "rgb": {
    "r": 51,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 245.263,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37692,
    "c": 0.17571,
    "h": 277.7
  },
  "luminance": 0.04656
}

Semantic roles & 50–950 ramp

primary
#33299B
secondary
#B5BD63
accent
#E146D4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #33299B

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

Preview Lab → · Contrast checker → · Palette generator →

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