#3631AC#3631AC

#3631AC is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.188 H 275.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#3631AC
RGBrgb(54, 49, 172)
HSLhsl(242, 56%, 43%)
HSVhsv(242, 72%, 67%)
CMYKcmyk(68.6%, 71.5%, 0%, 32.5%)
CIE-LABlab(29.31, 41.25, -64.69)
CIE-LCHlch(29.31, 76.73, 302.52°)
OKLaboklab(40.81% 0.0193 -0.1869)
OKLCHoklch(40.81% 0.188 275.9)
XYZxyz(10.0636, 5.9585, 39.6415)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3631AC #A7AC31
analogous
#3169AC #3631AC #7331AC
triadic
#3631AC #AC3631 #31AC36
tetradic
#3631AC #AC3169 #A7AC31 #31AC73
square
#3631AC #AC3169 #A7AC31 #31AC73
split-complementary
#3631AC #AC7331 #69AC31
monochromatic
#18164D #27237C #3631AC #534ECC #817DDA

Accessibility & contrast

On white

9.58
#3631AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3631AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3631AC
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3631AC#FFFFFF#000000##FFFFFF
##3631AC1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3631ac;
/* rgb */ color: rgb(54, 49, 172);
/* oklch */ color: oklch(40.8% 0.188 275.9);
Tailwind
colors: {
  custom: {
    50: '#7d6ac6',
    500: '#3631ac',
    950: '#000000',
  },
}
SCSS
$custom: #3631ac;
$custom-light: #7d6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3631ac",
  "rgb": {
    "r": 54,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 242.439,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.18791,
    "h": 275.9
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#3631AC
secondary
#C0C376
accent
#DF49D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3631AC

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

Preview Lab → · Contrast checker → · Palette generator →

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