#351FC2#351FC2

#351FC2 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.9% C 0.230 H 275.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#351FC2
RGBrgb(53, 31, 194)
HSLhsl(248, 72%, 44%)
HSVhsv(248, 84%, 76%)
CMYKcmyk(72.7%, 84%, 0%, 23.9%)
CIE-LABlab(28.46, 57.03, -79.17)
CIE-LCHlch(28.46, 97.57, 305.77°)
OKLaboklab(40.89% 0.0209 -0.2288)
OKLCHoklch(40.89% 0.23 275.2)
XYZxyz(11.6926, 5.6307, 51.4991)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351FC2 #ACC21F
analogous
#1F5BC2 #351FC2 #871FC2
triadic
#351FC2 #C2351F #1FC235
tetradic
#351FC2 #C21F5B #ACC21F #1FC287
square
#351FC2 #C21F5B #ACC21F #1FC287
split-complementary
#351FC2 #C2871F #5BC21F
monochromatic
#180E58 #27178D #351FC2 #543EE0 #8373E9

Accessibility & contrast

On white

9.88
#351FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#351FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351FC2
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351FC2#FFFFFF#000000##FFFFFF
##351FC21.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC6
Deuteranopia (green-blind)
#003CBF
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #351fc2;
/* rgb */ color: rgb(53, 31, 194);
/* oklch */ color: oklch(40.9% 0.230 275.2);
Tailwind
colors: {
  custom: {
    50: '#8361d6',
    500: '#351fc2',
    950: '#000000',
  },
}
SCSS
$custom: #351fc2;
$custom-light: #8361d6;
$custom-dark: #000000;
JSON
{
  "hex": "#351fc2",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 248.098,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40895,
    "c": 0.22978,
    "h": 275.2
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#351FC2
secondary
#C2CF6D
accent
#EF39D7
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83

Preview Lab

Preview with #351FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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