#351FBB#351FBB

#351FBB is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 40.1% C 0.222 H 275.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#351FBB
RGBrgb(53, 31, 187)
HSLhsl(248, 72%, 43%)
HSVhsv(248, 83%, 73%)
CMYKcmyk(71.7%, 83.4%, 0%, 26.7%)
CIE-LABlab(27.64, 55.01, -76.40)
CIE-LCHlch(27.64, 94.15, 305.76°)
OKLaboklab(40.09% 0.023 -0.2208)
OKLCHoklch(40.09% 0.222 275.9)
XYZxyz(10.9249, 5.3237, 47.4559)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351FBB #A5BB1F
analogous
#1F57BB #351FBB #831FBB
triadic
#351FBB #BB351F #1FBB35
tetradic
#351FBB #BB1F57 #A5BB1F #1FBB83
square
#351FBB #BB1F57 #A5BB1F #1FBB83
split-complementary
#351FBB #BB831F #57BB1F
monochromatic
#170E52 #261687 #351FBB #5039DE #7F6EE7

Accessibility & contrast

On white

10.17
#351FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#351FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351FBB
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351FBB#FFFFFF#000000##FFFFFF
##351FBB1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#003AB8
Tritanopia (blue-blind)
#005170
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #351fbb;
/* rgb */ color: rgb(53, 31, 187);
/* oklch */ color: oklch(40.1% 0.222 275.9);
Tailwind
colors: {
  custom: {
    50: '#8261d1',
    500: '#351fbb',
    950: '#000000',
  },
}
SCSS
$custom: #351fbb;
$custom-light: #8261d1;
$custom-dark: #000000;
JSON
{
  "hex": "#351fbb",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 187
  },
  "hsl": {
    "h": 248.462,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40093,
    "c": 0.22199,
    "h": 275.9
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#351FBB
secondary
#BFCD69
accent
#EE3AD5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #351FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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