#351FA7#351FA7

#351FA7 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.8% C 0.199 H 278.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#351FA7
RGBrgb(53, 31, 167)
HSLhsl(250, 69%, 39%)
HSVhsv(250, 81%, 65%)
CMYKcmyk(68.3%, 81.4%, 0%, 34.5%)
CIE-LABlab(25.34, 49.13, -68.23)
CIE-LCHlch(25.34, 84.08, 305.75°)
OKLaboklab(37.84% 0.029 -0.1971)
OKLCHoklch(37.84% 0.199 278.4)
XYZxyz(8.9310, 4.5261, 36.9547)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351FA7 #91A71F
analogous
#1F4DA7 #351FA7 #791FA7
triadic
#351FA7 #A7351F #1FA735
tetradic
#351FA7 #A71F4D #91A71F #1FA779
square
#351FA7 #A71F4D #91A71F #1FA779
split-complementary
#351FA7 #A7791F #4DA71F
monochromatic
#140C40 #251573 #351FA7 #472BD8 #745FE1

Accessibility & contrast

On white

11.02
#351FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#351FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351FA7
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351FA7#FFFFFF#000000##FFFFFF
##351FA71.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #351fa7;
/* rgb */ color: rgb(53, 31, 167);
/* oklch */ color: oklch(37.8% 0.199 278.4);
Tailwind
colors: {
  custom: {
    50: '#7e5fc2',
    500: '#351fa7',
    950: '#000000',
  },
}
SCSS
$custom: #351fa7;
$custom-light: #7e5fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#351fa7",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 249.706,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37839,
    "c": 0.19921,
    "h": 278.4
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#351FA7
secondary
#B5C65C
accent
#EC3CCF
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #351FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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