#35229F#35229F

#35229F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.187 H 279.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#35229F
RGBrgb(53, 34, 159)
HSLhsl(249, 65%, 38%)
HSVhsv(249, 79%, 62%)
CMYKcmyk(66.7%, 78.6%, 0%, 37.6%)
CIE-LABlab(24.96, 45.23, -64.00)
CIE-LCHlch(24.96, 78.37, 305.25°)
OKLaboklab(37.32% 0.0298 -0.1848)
OKLCHoklch(37.32% 0.187 279.1)
XYZxyz(8.2962, 4.4035, 33.2069)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35229F #8C9F22
analogous
#224D9F #35229F #73229F
triadic
#35229F #9F3522 #229F35
tetradic
#35229F #9F224D #8C9F22 #229F73
square
#35229F #9F224D #8C9F22 #229F73
split-complementary
#35229F #9F7322 #4D9F22
monochromatic
#130C3A #24176D #35229F #462DD1 #725FDD

Accessibility & contrast

On white

11.17
#35229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#35229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35229F
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35229F#FFFFFF#000000##FFFFFF
##35229F1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #35229f;
/* rgb */ color: rgb(53, 34, 159);
/* oklch */ color: oklch(37.3% 0.187 279.1);
Tailwind
colors: {
  custom: {
    50: '#7c61bd',
    500: '#35229f',
    950: '#000000',
  },
}
SCSS
$custom: #35229f;
$custom-light: #7c61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#35229f",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 249.12,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37317,
    "c": 0.18719,
    "h": 279.1
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #35229F

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

Preview Lab → · Contrast checker → · Palette generator →

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