#351FA6#351FA6

#351FA6 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.7% C 0.198 H 278.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#351FA6
RGBrgb(53, 31, 166)
HSLhsl(250, 69%, 39%)
HSVhsv(250, 81%, 65%)
CMYKcmyk(68.1%, 81.3%, 0%, 34.9%)
CIE-LABlab(25.23, 48.83, -67.81)
CIE-LCHlch(25.23, 83.56, 305.75°)
OKLaboklab(37.73% 0.0293 -0.1959)
OKLCHoklch(37.73% 0.198 278.5)
XYZxyz(8.8389, 4.4893, 36.4697)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351FA6 #90A61F
analogous
#1F4CA6 #351FA6 #781FA6
triadic
#351FA6 #A6351F #1FA635
tetradic
#351FA6 #A61F4C #90A61F #1FA678
square
#351FA6 #A61F4C #90A61F #1FA678
split-complementary
#351FA6 #A6781F #4CA61F
monochromatic
#140C3F #251572 #351FA6 #472BD7 #745EE1

Accessibility & contrast

On white

11.06
#351FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#351FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351FA6
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351FA6#FFFFFF#000000##FFFFFF
##351FA61.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0036A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #351fa6;
/* rgb */ color: rgb(53, 31, 166);
/* oklch */ color: oklch(37.7% 0.198 278.5);
Tailwind
colors: {
  custom: {
    50: '#7d5fc2',
    500: '#351fa6',
    950: '#000000',
  },
}
SCSS
$custom: #351fa6;
$custom-light: #7d5fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#351fa6",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 249.778,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37728,
    "c": 0.19805,
    "h": 278.5
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

primary
#351FA6
secondary
#B4C55B
accent
#EB3CCF
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #351FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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