#35229C#35229C

#35229C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.184 H 279.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#35229C
RGBrgb(53, 34, 156)
HSLhsl(249, 64%, 37%)
HSVhsv(249, 78%, 61%)
CMYKcmyk(66%, 78.2%, 0%, 38.8%)
CIE-LABlab(24.64, 44.30, -62.70)
CIE-LCHlch(24.64, 76.77, 305.25°)
OKLaboklab(37% 0.0306 -0.181)
OKLCHoklch(37% 0.184 279.6)
XYZxyz(8.0391, 4.3006, 31.8525)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35229C #899C22
analogous
#224C9C #35229C #72229C
triadic
#35229C #9C3522 #229C35
tetradic
#35229C #9C224C #899C22 #229C72
square
#35229C #9C224C #899C22 #229C72
split-complementary
#35229C #9C7222 #4C9C22
monochromatic
#130C38 #24176A #35229C #462DCE #715DDC

Accessibility & contrast

On white

11.29
#35229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#35229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35229C
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35229C#FFFFFF#000000##FFFFFF
##35229C1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #35229c;
/* rgb */ color: rgb(53, 34, 156);
/* oklch */ color: oklch(37.0% 0.184 279.6);
Tailwind
colors: {
  custom: {
    50: '#7b60ba',
    500: '#35229c',
    950: '#000000',
  },
}
SCSS
$custom: #35229c;
$custom-light: #7b60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#35229c",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 249.344,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36996,
    "c": 0.18357,
    "h": 279.6
  },
  "luminance": 0.04301
}

Semantic roles & 50–950 ramp

primary
#35229C
secondary
#B0C05A
accent
#E741CD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #35229C

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

Preview Lab → · Contrast checker → · Palette generator →

#35229C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva