#35229B#35229B

#35229B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.182 H 279.7°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#35229B
RGBrgb(53, 34, 155)
HSLhsl(249, 64%, 37%)
HSVhsv(249, 78%, 61%)
CMYKcmyk(65.8%, 78.1%, 0%, 39.2%)
CIE-LABlab(24.53, 43.99, -62.26)
CIE-LCHlch(24.53, 76.23, 305.24°)
OKLaboklab(36.89% 0.0308 -0.1797)
OKLCHoklch(36.89% 0.182 279.7)
XYZxyz(7.9547, 4.2669, 31.4084)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35229B #889B22
analogous
#224C9B #35229B #71229B
triadic
#35229B #9B3522 #229B35
tetradic
#35229B #9B224C #889B22 #229B71
square
#35229B #9B224C #889B22 #229B71
split-complementary
#35229B #9B7122 #4C9B22
monochromatic
#130C37 #241769 #35229B #462DCD #705CDB

Accessibility & contrast

On white

11.33
#35229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35229B
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35229B#FFFFFF#000000##FFFFFF
##35229B1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #35229b;
/* rgb */ color: rgb(53, 34, 155);
/* oklch */ color: oklch(36.9% 0.182 279.7);
Tailwind
colors: {
  custom: {
    50: '#7b60ba',
    500: '#35229b',
    950: '#000000',
  },
}
SCSS
$custom: #35229b;
$custom-light: #7b60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#35229b",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 249.421,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3689,
    "c": 0.18236,
    "h": 279.7
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #35229B

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

Preview Lab → · Contrast checker → · Palette generator →

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