#35319A#35319A

#35319A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.165 H 277.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#35319A
RGBrgb(53, 49, 154)
HSLhsl(242, 52%, 40%)
HSVhsv(242, 68%, 60%)
CMYKcmyk(65.6%, 68.2%, 0%, 39.6%)
CIE-LABlab(27.53, 35.04, -56.72)
CIE-LCHlch(27.53, 66.67, 301.71°)
OKLaboklab(39% 0.0207 -0.1636)
OKLCHoklch(39% 0.165 277.2)
XYZxyz(8.3974, 5.2859, 31.1433)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35319A #969A31
analogous
#31619A #35319A #6A319A
triadic
#35319A #9A3531 #319A35
tetradic
#35319A #9A3161 #969A31 #319A6A
square
#35319A #9A3161 #969A31 #319A6A
split-complementary
#35319A #9A6A31 #619A31
monochromatic
#15133D #25226C #35319A #4945C4 #7773D2

Accessibility & contrast

On white

10.21
#35319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#35319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35319A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35319A#FFFFFF#000000##FFFFFF
##35319A1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #35319a;
/* rgb */ color: rgb(53, 49, 154);
/* oklch */ color: oklch(39.0% 0.165 277.2);
Tailwind
colors: {
  custom: {
    50: '#796ab9',
    500: '#35319a',
    950: '#000000',
  },
}
SCSS
$custom: #35319a;
$custom-light: #796ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#35319a",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 242.286,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38997,
    "c": 0.16491,
    "h": 277.2
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#35319A
secondary
#B7BA6C
accent
#DB4DD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #35319A

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

Preview Lab → · Contrast checker → · Palette generator →

#35319A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva