#35319B#35319B

#35319B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.166 H 277.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#35319B
RGBrgb(53, 49, 155)
HSLhsl(242, 52%, 40%)
HSVhsv(242, 68%, 61%)
CMYKcmyk(65.8%, 68.4%, 0%, 39.2%)
CIE-LABlab(27.63, 35.39, -57.18)
CIE-LCHlch(27.63, 67.24, 301.75°)
OKLaboklab(39.09% 0.0205 -0.165)
OKLCHoklch(39.09% 0.166 277.1)
XYZxyz(8.4810, 5.3194, 31.5838)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35319B #979B31
analogous
#31629B #35319B #6A319B
triadic
#35319B #9B3531 #319B35
tetradic
#35319B #9B3162 #979B31 #319B6A
square
#35319B #9B3162 #979B31 #319B6A
split-complementary
#35319B #9B6A31 #629B31
monochromatic
#15143E #25226D #35319B #4A45C4 #7773D3

Accessibility & contrast

On white

10.17
#35319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35319B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35319B#FFFFFF#000000##FFFFFF
##35319B1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #35319b;
/* rgb */ color: rgb(53, 49, 155);
/* oklch */ color: oklch(39.1% 0.166 277.1);
Tailwind
colors: {
  custom: {
    50: '#796ab9',
    500: '#35319b',
    950: '#000000',
  },
}
SCSS
$custom: #35319b;
$custom-light: #796ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#35319b",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 242.264,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.39091,
    "c": 0.16623,
    "h": 277.1
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#35319B
secondary
#B8BB6D
accent
#DB4CD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #35319B

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

Preview Lab → · Contrast checker → · Palette generator →

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