#35229D#35229D

#35229D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.185 H 279.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#35229D
RGBrgb(53, 34, 157)
HSLhsl(249, 64%, 37%)
HSVhsv(249, 78%, 62%)
CMYKcmyk(66.2%, 78.3%, 0%, 38.4%)
CIE-LABlab(24.75, 44.61, -63.13)
CIE-LCHlch(24.75, 77.30, 305.25°)
OKLaboklab(37.1% 0.0303 -0.1823)
OKLCHoklch(37.1% 0.185 279.4)
XYZxyz(8.1241, 4.3346, 32.3003)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35229D #8A9D22
analogous
#224D9D #35229D #72229D
triadic
#35229D #9D3522 #229D35
tetradic
#35229D #9D224D #8A9D22 #229D72
square
#35229D #9D224D #8A9D22 #229D72
split-complementary
#35229D #9D7222 #4D9D22
monochromatic
#130C38 #24176B #35229D #462DCF #715DDC

Accessibility & contrast

On white

11.25
#35229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35229D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35229D#FFFFFF#000000##FFFFFF
##35229D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #35229d;
/* rgb */ color: rgb(53, 34, 157);
/* oklch */ color: oklch(37.1% 0.185 279.4);
Tailwind
colors: {
  custom: {
    50: '#7b60bb',
    500: '#35229d',
    950: '#000000',
  },
}
SCSS
$custom: #35229d;
$custom-light: #7b60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#35229d",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 249.268,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37103,
    "c": 0.18478,
    "h": 279.4
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#35229D
secondary
#B1C15A
accent
#E740CE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #35229D

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

Preview Lab → · Contrast checker → · Palette generator →

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