#351CB4#351CB4

#351CB4 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 39.0% C 0.216 H 276.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#351CB4
RGBrgb(53, 28, 180)
HSLhsl(250, 73%, 41%)
HSVhsv(250, 84%, 71%)
CMYKcmyk(70.6%, 84.4%, 0%, 29.4%)
CIE-LABlab(26.39, 54.24, -74.30)
CIE-LCHlch(26.39, 91.99, 306.13°)
OKLaboklab(39% 0.0261 -0.2146)
OKLCHoklch(39% 0.216 276.9)
XYZxyz(10.1190, 4.8817, 43.5802)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351CB4 #9BB41C
analogous
#1C4FB4 #351CB4 #811CB4
triadic
#351CB4 #B4351C #1CB435
tetradic
#351CB4 #B41C4F #9BB41C #1CB481
square
#351CB4 #B41C4F #9BB41C #1CB481
split-complementary
#351CB4 #B4811C #4FB41C
monochromatic
#160C4A #25147F #351CB4 #4C2FDF #7964E7

Accessibility & contrast

On white

10.62
#351CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#351CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351CB4
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351CB4#FFFFFF#000000##FFFFFF
##351CB41.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351cb4;
/* rgb */ color: rgb(53, 28, 180);
/* oklch */ color: oklch(39.0% 0.216 276.9);
Tailwind
colors: {
  custom: {
    50: '#815fcc',
    500: '#351cb4',
    950: '#000000',
  },
}
SCSS
$custom: #351cb4;
$custom-light: #815fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#351cb4",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 249.868,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39002,
    "c": 0.21624,
    "h": 276.9
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#351CB4
secondary
#BACC60
accent
#F038D2
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #351CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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