#351BB4#351BB4

#351BB4 is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.9% C 0.217 H 277.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#351BB4
RGBrgb(53, 27, 180)
HSLhsl(250, 74%, 41%)
HSVhsv(250, 85%, 71%)
CMYKcmyk(70.6%, 85%, 0%, 29.4%)
CIE-LABlab(26.26, 54.64, -74.52)
CIE-LCHlch(26.26, 92.41, 306.25°)
OKLaboklab(38.91% 0.0265 -0.2153)
OKLCHoklch(38.91% 0.217 277)
XYZxyz(10.0957, 4.8351, 43.5724)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351BB4 #9AB41B
analogous
#1B4DB4 #351BB4 #811BB4
triadic
#351BB4 #B4351B #1BB435
tetradic
#351BB4 #B41B4D #9AB41B #1BB481
square
#351BB4 #B41B4D #9AB41B #1BB481
split-complementary
#351BB4 #B4811B #4DB41B
monochromatic
#160B4A #25137F #351BB4 #4B2DDF #7962E7

Accessibility & contrast

On white

10.68
#351BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#351BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351BB4
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351BB4#FFFFFF#000000##FFFFFF
##351BB41.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #351bb4;
/* rgb */ color: rgb(53, 27, 180);
/* oklch */ color: oklch(38.9% 0.217 277.0);
Tailwind
colors: {
  custom: {
    50: '#815fcc',
    500: '#351bb4',
    950: '#000000',
  },
}
SCSS
$custom: #351bb4;
$custom-light: #815fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#351bb4",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 250.196,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38909,
    "c": 0.2169,
    "h": 277
  },
  "luminance": 0.04836
}

Semantic roles & 50–950 ramp

primary
#351BB4
secondary
#B9CC5F
accent
#F137D1
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #351BB4

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

Preview Lab → · Contrast checker → · Palette generator →

#351BB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva