#351FA4#351FA4

#351FA4 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.5% C 0.196 H 278.8°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#351FA4
RGBrgb(53, 31, 164)
HSLhsl(250, 68%, 38%)
HSVhsv(250, 81%, 64%)
CMYKcmyk(67.7%, 81.1%, 0%, 35.7%)
CIE-LABlab(25.00, 48.23, -66.97)
CIE-LCHlch(25.00, 82.53, 305.76°)
OKLaboklab(37.51% 0.0299 -0.1934)
OKLCHoklch(37.51% 0.196 278.8)
XYZxyz(8.6569, 4.4165, 35.5110)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351FA4 #8EA41F
analogous
#1F4BA4 #351FA4 #771FA4
triadic
#351FA4 #A4351F #1FA435
tetradic
#351FA4 #A41F4B #8EA41F #1FA477
square
#351FA4 #A41F4B #8EA41F #1FA477
split-complementary
#351FA4 #A4771F #4BA41F
monochromatic
#140C3D #241571 #351FA4 #462AD7 #735DE0

Accessibility & contrast

On white

11.15
#351FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#351FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351FA4
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351FA4#FFFFFF#000000##FFFFFF
##351FA41.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #351fa4;
/* rgb */ color: rgb(53, 31, 164);
/* oklch */ color: oklch(37.5% 0.196 278.8);
Tailwind
colors: {
  custom: {
    50: '#7d5fc0',
    500: '#351fa4',
    950: '#000000',
  },
}
SCSS
$custom: #351fa4;
$custom-light: #7d5fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#351fa4",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 164
  },
  "hsl": {
    "h": 249.925,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37507,
    "c": 0.19572,
    "h": 278.8
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#351FA4
secondary
#B3C55A
accent
#EB3DCE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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