#3631A2#3631A2

#3631A2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.175 H 276.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3631A2
RGBrgb(54, 49, 162)
HSLhsl(243, 54%, 41%)
HSVhsv(243, 70%, 64%)
CMYKcmyk(66.7%, 69.8%, 0%, 36.5%)
CIE-LABlab(28.35, 37.90, -60.24)
CIE-LCHlch(28.35, 71.17, 302.18°)
OKLaboklab(39.83% 0.0209 -0.1739)
OKLCHoklch(39.83% 0.175 276.8)
XYZxyz(9.1391, 5.5887, 34.7725)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3631A2 #9DA231
analogous
#3165A2 #3631A2 #6F31A2
triadic
#3631A2 #A23631 #31A236
tetradic
#3631A2 #A23165 #9DA231 #31A26F
square
#3631A2 #A23165 #9DA231 #31A26F
split-complementary
#3631A2 #A26F31 #65A231
monochromatic
#171544 #262373 #3631A2 #4E48C8 #7C77D6

Accessibility & contrast

On white

9.92
#3631A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3631A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3631A2
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3631A2#FFFFFF#000000##FFFFFF
##3631A21.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3631a2;
/* rgb */ color: rgb(54, 49, 162);
/* oklch */ color: oklch(39.8% 0.175 276.8);
Tailwind
colors: {
  custom: {
    50: '#7b6abf',
    500: '#3631a2',
    950: '#000000',
  },
}
SCSS
$custom: #3631a2;
$custom-light: #7b6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3631a2",
  "rgb": {
    "r": 54,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 242.655,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39832,
    "c": 0.17515,
    "h": 276.8
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

primary
#3631A2
secondary
#BBBE71
accent
#DD4BD6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3631A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3631A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva