#35229A#35229A

#35229A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.181 H 279.9°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#35229A
RGBrgb(53, 34, 154)
HSLhsl(250, 64%, 37%)
HSVhsv(250, 78%, 60%)
CMYKcmyk(65.6%, 77.9%, 0%, 39.6%)
CIE-LABlab(24.43, 43.68, -61.82)
CIE-LCHlch(24.43, 75.70, 305.24°)
OKLaboklab(36.78% 0.0311 -0.1785)
OKLCHoklch(36.78% 0.181 279.9)
XYZxyz(7.8711, 4.2334, 30.9679)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35229A #879A22
analogous
#224B9A #35229A #71229A
triadic
#35229A #9A3522 #229A35
tetradic
#35229A #9A224B #879A22 #229A71
square
#35229A #9A224B #879A22 #229A71
split-complementary
#35229A #9A7122 #4B9A22
monochromatic
#120C36 #241768 #35229A #462DCC #705BDB

Accessibility & contrast

On white

11.37
#35229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#35229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35229A
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35229A#FFFFFF#000000##FFFFFF
##35229A1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #35229a;
/* rgb */ color: rgb(53, 34, 154);
/* oklch */ color: oklch(36.8% 0.181 279.9);
Tailwind
colors: {
  custom: {
    50: '#7b60b9',
    500: '#35229a',
    950: '#000000',
  },
}
SCSS
$custom: #35229a;
$custom-light: #7b60b9;
$custom-dark: #000000;
JSON
{
  "hex": "#35229a",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 249.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36784,
    "c": 0.18116,
    "h": 279.9
  },
  "luminance": 0.04234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #35229A

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

Preview Lab → · Contrast checker → · Palette generator →

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