#351FAC#351FAC

#351FAC is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.4% C 0.205 H 277.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#351FAC
RGBrgb(53, 31, 172)
HSLhsl(249, 69%, 40%)
HSVhsv(249, 82%, 67%)
CMYKcmyk(69.2%, 82%, 0%, 32.5%)
CIE-LABlab(25.91, 50.61, -70.31)
CIE-LCHlch(25.91, 86.64, 305.75°)
OKLaboklab(38.4% 0.0275 -0.2031)
OKLCHoklch(38.4% 0.205 277.7)
XYZxyz(9.4022, 4.7146, 39.4362)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351FAC #96AC1F
analogous
#1F4FAC #351FAC #7C1FAC
triadic
#351FAC #AC351F #1FAC35
tetradic
#351FAC #AC1F4F #96AC1F #1FAC7C
square
#351FAC #AC1F4F #96AC1F #1FAC7C
split-complementary
#351FAC #AC7C1F #4FAC1F
monochromatic
#150C44 #251678 #351FAC #492FD9 #7763E3

Accessibility & contrast

On white

10.81
#351FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#351FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351FAC
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351FAC#FFFFFF#000000##FFFFFF
##351FAC1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #351fac;
/* rgb */ color: rgb(53, 31, 172);
/* oklch */ color: oklch(38.4% 0.205 277.7);
Tailwind
colors: {
  custom: {
    50: '#7f60c6',
    500: '#351fac',
    950: '#000000',
  },
}
SCSS
$custom: #351fac;
$custom-light: #7f60c6;
$custom-dark: #000000;
JSON
{
  "hex": "#351fac",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 172
  },
  "hsl": {
    "h": 249.362,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38396,
    "c": 0.20498,
    "h": 277.7
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#351FAC
secondary
#B7C85F
accent
#EC3CD1
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #351FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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