#3631E2#3631E2

#3631E2 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.5% C 0.252 H 272.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#3631E2
RGBrgb(54, 49, 226)
HSLhsl(242, 75%, 54%)
HSVhsv(242, 78%, 89%)
CMYKcmyk(76.1%, 78.3%, 0%, 11.4%)
CIE-LABlab(34.94, 58.45, -86.98)
CIE-LCHlch(34.94, 104.79, 303.90°)
OKLaboklab(46.46% 0.0087 -0.2517)
OKLCHoklch(46.46% 0.252 272)
XYZxyz(16.3425, 8.4701, 72.7104)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3631E2 #DDE231
analogous
#3185E2 #3631E2 #8F31E2
triadic
#3631E2 #E23631 #31E236
tetradic
#3631E2 #E23185 #DDE231 #31E28F
square
#3631E2 #E23185 #DDE231 #31E28F
split-complementary
#3631E2 #E28F31 #85E231
monochromatic
#161386 #1F1ABB #3631E2 #6A67EA #9F9CF1

Accessibility & contrast

On white

7.79
#3631E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3631E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3631E2
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3631E2#FFFFFF#000000##FFFFFF
##3631E21.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE7
Deuteranopia (green-blind)
#0049DF
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3631e2;
/* rgb */ color: rgb(54, 49, 226);
/* oklch */ color: oklch(46.5% 0.252 272.0);
Tailwind
colors: {
  custom: {
    50: '#8a6ded',
    500: '#3631e2',
    950: '#000000',
  },
}
SCSS
$custom: #3631e2;
$custom-light: #8a6ded;
$custom-dark: #000000;
JSON
{
  "hex": "#3631e2",
  "rgb": {
    "r": 54,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 241.695,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.46457,
    "c": 0.2519,
    "h": 272
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#3631E2
secondary
#DBDD92
accent
#F236ED
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #3631E2

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

Preview Lab → · Contrast checker → · Palette generator →

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