#3631B5#3631B5

#3631B5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.7% C 0.199 H 275.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#3631B5
RGBrgb(54, 49, 181)
HSLhsl(242, 57%, 45%)
HSVhsv(242, 73%, 71%)
CMYKcmyk(70.2%, 72.9%, 0%, 29%)
CIE-LABlab(30.20, 44.23, -68.60)
CIE-LCHlch(30.20, 81.62, 302.81°)
OKLaboklab(41.71% 0.0177 -0.1983)
OKLCHoklch(41.71% 0.199 275.1)
XYZxyz(10.9574, 6.3161, 44.3488)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3631B5 #B0B531
analogous
#316EB5 #3631B5 #7831B5
triadic
#3631B5 #B53631 #31B536
tetradic
#3631B5 #B5316E #B0B531 #31B578
square
#3631B5 #B5316E #B0B531 #31B578
split-complementary
#3631B5 #B57831 #6EB531
monochromatic
#191755 #282485 #3631B5 #5853D0 #8683DD

Accessibility & contrast

On white

9.28
#3631B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3631B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3631B5
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3631B5#FFFFFF#000000##FFFFFF
##3631B51.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3631b5;
/* rgb */ color: rgb(54, 49, 181);
/* oklch */ color: oklch(41.7% 0.199 275.1);
Tailwind
colors: {
  custom: {
    50: '#7f6bcc',
    500: '#3631b5',
    950: '#000000',
  },
}
SCSS
$custom: #3631b5;
$custom-light: #7f6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3631b5",
  "rgb": {
    "r": 54,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 242.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41711,
    "c": 0.19912,
    "h": 275.1
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

primary
#3631B5
secondary
#C4C77B
accent
#E147DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3631B5

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

Preview Lab → · Contrast checker → · Palette generator →

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