#351FB4#351FB4

#351FB4 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.3% C 0.214 H 276.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#351FB4
RGBrgb(53, 31, 180)
HSLhsl(249, 71%, 41%)
HSVhsv(249, 83%, 71%)
CMYKcmyk(70.6%, 82.8%, 0%, 29.4%)
CIE-LABlab(26.82, 52.97, -73.59)
CIE-LCHlch(26.82, 90.67, 305.75°)
OKLaboklab(39.3% 0.0251 -0.2126)
OKLCHoklch(39.3% 0.214 276.7)
XYZxyz(10.1937, 5.0312, 43.6051)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351FB4 #9EB41F
analogous
#1F54B4 #351FB4 #801FB4
triadic
#351FB4 #B4351F #1FB435
tetradic
#351FB4 #B41F54 #9EB41F #1FB480
square
#351FB4 #B41F54 #9EB41F #1FB480
split-complementary
#351FB4 #B4801F #54B41F
monochromatic
#160D4C #261680 #351FB4 #4D34DC #7B68E5

Accessibility & contrast

On white

10.47
#351FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#351FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351FB4
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351FB4#FFFFFF#000000##FFFFFF
##351FB41.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #351fb4;
/* rgb */ color: rgb(53, 31, 180);
/* oklch */ color: oklch(39.3% 0.214 276.7);
Tailwind
colors: {
  custom: {
    50: '#8060cc',
    500: '#351fb4',
    950: '#000000',
  },
}
SCSS
$custom: #351fb4;
$custom-light: #8060cc;
$custom-dark: #000000;
JSON
{
  "hex": "#351fb4",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 248.859,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39296,
    "c": 0.21411,
    "h": 276.7
  },
  "luminance": 0.05032
}

Semantic roles & 50–950 ramp

primary
#351FB4
secondary
#BBCB64
accent
#ED3AD3
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #351FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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