#352C97#352C97

#352C97 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.167 H 278.6°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#352C97
RGBrgb(53, 44, 151)
HSLhsl(245, 55%, 38%)
HSVhsv(245, 71%, 59%)
CMYKcmyk(64.9%, 70.9%, 0%, 40.8%)
CIE-LABlab(26.13, 37.08, -57.18)
CIE-LCHlch(26.13, 68.15, 302.97°)
OKLaboklab(37.9% 0.025 -0.165)
OKLCHoklch(37.9% 0.167 278.6)
XYZxyz(7.9530, 4.7920, 29.7780)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352C97 #8E972C
analogous
#2C5897 #352C97 #6A2C97
triadic
#352C97 #97352C #2C9735
tetradic
#352C97 #972C58 #8E972C #2C976A
square
#352C97 #972C58 #8E972C #2C976A
split-complementary
#352C97 #976A2C #58972C
monochromatic
#141038 #241E68 #352C97 #463AC6 #736AD4

Accessibility & contrast

On white

10.72
#352C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#352C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352C97
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352C97#FFFFFF#000000##FFFFFF
##352C971.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #352c97;
/* rgb */ color: rgb(53, 44, 151);
/* oklch */ color: oklch(37.9% 0.167 278.6);
Tailwind
colors: {
  custom: {
    50: '#7966b7',
    500: '#352c97',
    950: '#000000',
  },
}
SCSS
$custom: #352c97;
$custom-light: #7966b7;
$custom-dark: #000000;
JSON
{
  "hex": "#352c97",
  "rgb": {
    "r": 53,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 245.047,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37902,
    "c": 0.16684,
    "h": 278.6
  },
  "luminance": 0.04793
}

Semantic roles & 50–950 ramp

primary
#352C97
secondary
#B3BA65
accent
#DE4AD2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #352C97

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

Preview Lab → · Contrast checker → · Palette generator →

#352C97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva