#35229E#35229E

#35229E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.186 H 279.3°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#35229E
RGBrgb(53, 34, 158)
HSLhsl(249, 65%, 38%)
HSVhsv(249, 78%, 62%)
CMYKcmyk(66.5%, 78.5%, 0%, 38%)
CIE-LABlab(24.86, 44.92, -63.56)
CIE-LCHlch(24.86, 77.84, 305.25°)
OKLaboklab(37.21% 0.03 -0.1835)
OKLCHoklch(37.21% 0.186 279.3)
XYZxyz(8.2098, 4.3689, 32.7518)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35229E #8B9E22
analogous
#224D9E #35229E #73229E
triadic
#35229E #9E3522 #229E35
tetradic
#35229E #9E224D #8B9E22 #229E73
square
#35229E #9E224D #8B9E22 #229E73
split-complementary
#35229E #9E7322 #4D9E22
monochromatic
#130C39 #24176C #35229E #462DD0 #715EDC

Accessibility & contrast

On white

11.21
#35229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#35229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35229E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35229E#FFFFFF#000000##FFFFFF
##35229E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #35229e;
/* rgb */ color: rgb(53, 34, 158);
/* oklch */ color: oklch(37.2% 0.186 279.3);
Tailwind
colors: {
  custom: {
    50: '#7b61bc',
    500: '#35229e',
    950: '#000000',
  },
}
SCSS
$custom: #35229e;
$custom-light: #7b61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#35229e",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 249.194,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3721,
    "c": 0.18599,
    "h": 279.3
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#35229E
secondary
#B1C15B
accent
#E840CE
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #35229E

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

Preview Lab → · Contrast checker → · Palette generator →

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