#351FA8#351FA8

#351FA8 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.200 H 278.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#351FA8
RGBrgb(53, 31, 168)
HSLhsl(250, 69%, 39%)
HSVhsv(250, 82%, 66%)
CMYKcmyk(68.5%, 81.5%, 0%, 34.1%)
CIE-LABlab(25.45, 49.42, -68.65)
CIE-LCHlch(25.45, 84.59, 305.75°)
OKLaboklab(37.95% 0.0287 -0.1983)
OKLCHoklch(37.95% 0.2 278.2)
XYZxyz(9.0238, 4.5632, 37.4434)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351FA8 #92A81F
analogous
#1F4EA8 #351FA8 #7A1FA8
triadic
#351FA8 #A8351F #1FA835
tetradic
#351FA8 #A81F4E #92A81F #1FA87A
square
#351FA8 #A81F4E #92A81F #1FA87A
split-complementary
#351FA8 #A87A1F #4EA81F
monochromatic
#140C41 #251574 #351FA8 #482CD8 #7560E2

Accessibility & contrast

On white

10.98
#351FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351FA8
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351FA8#FFFFFF#000000##FFFFFF
##351FA81.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #351fa8;
/* rgb */ color: rgb(53, 31, 168);
/* oklch */ color: oklch(38.0% 0.200 278.2);
Tailwind
colors: {
  custom: {
    50: '#7e60c3',
    500: '#351fa8',
    950: '#000000',
  },
}
SCSS
$custom: #351fa8;
$custom-light: #7e60c3;
$custom-dark: #000000;
JSON
{
  "hex": "#351fa8",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 249.635,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3795,
    "c": 0.20037,
    "h": 278.2
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #351FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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