#351FAD#351FAD

#351FAD is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.5% C 0.206 H 277.6°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#351FAD
RGBrgb(53, 31, 173)
HSLhsl(249, 70%, 40%)
HSVhsv(249, 82%, 68%)
CMYKcmyk(69.4%, 82.1%, 0%, 32.2%)
CIE-LABlab(26.02, 50.91, -70.73)
CIE-LCHlch(26.02, 87.14, 305.75°)
OKLaboklab(38.51% 0.0272 -0.2043)
OKLCHoklch(38.51% 0.206 277.6)
XYZxyz(9.4986, 4.7531, 39.9439)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351FAD #97AD1F
analogous
#1F50AD #351FAD #7C1FAD
triadic
#351FAD #AD351F #1FAD35
tetradic
#351FAD #AD1F50 #97AD1F #1FAD7C
square
#351FAD #AD1F50 #97AD1F #1FAD7C
split-complementary
#351FAD #AD7C1F #50AD1F
monochromatic
#150C45 #251679 #351FAD #4A2FDA #7763E3

Accessibility & contrast

On white

10.76
#351FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#351FAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351FAD
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351FAD#FFFFFF#000000##FFFFFF
##351FAD1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#0038AB
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #351fad;
/* rgb */ color: rgb(53, 31, 173);
/* oklch */ color: oklch(38.5% 0.206 277.6);
Tailwind
colors: {
  custom: {
    50: '#7f60c7',
    500: '#351fad',
    950: '#000000',
  },
}
SCSS
$custom: #351fad;
$custom-light: #7f60c7;
$custom-dark: #000000;
JSON
{
  "hex": "#351fad",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 173
  },
  "hsl": {
    "h": 249.296,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.38508,
    "c": 0.20613,
    "h": 277.6
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#351FAD
secondary
#B8C860
accent
#EC3BD1
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #351FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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