#3631D4#3631D4

#3631D4 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.9% C 0.236 H 272.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3631D4
RGBrgb(54, 49, 212)
HSLhsl(242, 65%, 51%)
HSVhsv(242, 77%, 83%)
CMYKcmyk(74.5%, 76.9%, 0%, 16.9%)
CIE-LABlab(33.42, 54.14, -81.45)
CIE-LCHlch(33.42, 97.81, 303.61°)
OKLaboklab(44.95% 0.0117 -0.2357)
OKLCHoklch(44.95% 0.236 272.8)
XYZxyz(14.4993, 7.7328, 63.0030)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3631D4 #CFD431
analogous
#317ED4 #3631D4 #8731D4
triadic
#3631D4 #D43631 #31D436
tetradic
#3631D4 #D4317E #CFD431 #31D487
square
#3631D4 #D4317E #CFD431 #31D487
split-complementary
#3631D4 #D48731 #7ED431
monochromatic
#1B1873 #2723A5 #3631D4 #6764DF #9996E9

Accessibility & contrast

On white

8.25
#3631D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3631D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3631D4
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3631D4#FFFFFF#000000##FFFFFF
##3631D41.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D9
Deuteranopia (green-blind)
#0047D1
Tritanopia (blue-blind)
#006282
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3631d4;
/* rgb */ color: rgb(54, 49, 212);
/* oklch */ color: oklch(44.9% 0.236 272.8);
Tailwind
colors: {
  custom: {
    50: '#866ce3',
    500: '#3631d4',
    950: '#000000',
  },
}
SCSS
$custom: #3631d4;
$custom-light: #866ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#3631d4",
  "rgb": {
    "r": 54,
    "g": 49,
    "b": 212
  },
  "hsl": {
    "h": 241.84,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.44946,
    "c": 0.236,
    "h": 272.8
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#3631D4
secondary
#D2D48C
accent
#E83FE3
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #3631D4

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

Preview Lab → · Contrast checker → · Palette generator →

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