#351EAC#351EAC

#351EAC is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.206 H 277.8°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#351EAC
RGBrgb(53, 30, 172)
HSLhsl(250, 70%, 40%)
HSVhsv(250, 83%, 67%)
CMYKcmyk(69.2%, 82.6%, 0%, 32.5%)
CIE-LABlab(25.75, 51.06, -70.57)
CIE-LCHlch(25.75, 87.10, 305.89°)
OKLaboklab(38.29% 0.0279 -0.2038)
OKLCHoklch(38.29% 0.206 277.8)
XYZxyz(9.3765, 4.6632, 39.4277)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351EAC #95AC1E
analogous
#1E4EAC #351EAC #7C1EAC
triadic
#351EAC #AC351E #1EAC35
tetradic
#351EAC #AC1E4E #95AC1E #1EAC7C
square
#351EAC #AC1E4E #95AC1E #1EAC7C
split-complementary
#351EAC #AC7C1E #4EAC1E
monochromatic
#150C44 #251578 #351EAC #492DDA #7661E3

Accessibility & contrast

On white

10.87
#351EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#351EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351EAC
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351EAC#FFFFFF#000000##FFFFFF
##351EAC1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351eac;
/* rgb */ color: rgb(53, 30, 172);
/* oklch */ color: oklch(38.3% 0.206 277.8);
Tailwind
colors: {
  custom: {
    50: '#7f5fc6',
    500: '#351eac',
    950: '#000000',
  },
}
SCSS
$custom: #351eac;
$custom-light: #7f5fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#351eac",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 172
  },
  "hsl": {
    "h": 249.718,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3829,
    "c": 0.20575,
    "h": 277.8
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#351EAC
secondary
#B7C85E
accent
#ED3BD0
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #351EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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