#3631AA#3631AA

#3631AA is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.185 H 276.1°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#3631AA
RGBrgb(54, 49, 170)
HSLhsl(242, 55%, 43%)
HSVhsv(242, 71%, 67%)
CMYKcmyk(68.2%, 71.2%, 0%, 33.3%)
CIE-LABlab(29.11, 40.58, -63.81)
CIE-LCHlch(29.11, 75.62, 302.46°)
OKLaboklab(40.61% 0.0196 -0.1843)
OKLCHoklch(40.61% 0.185 276.1)
XYZxyz(9.8730, 5.8823, 38.6375)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3631AA #A5AA31
analogous
#3169AA #3631AA #7231AA
triadic
#3631AA #AA3631 #31AA36
tetradic
#3631AA #AA3169 #A5AA31 #31AA72
square
#3631AA #AA3169 #A5AA31 #31AA72
split-complementary
#3631AA #AA7231 #69AA31
monochromatic
#18164B #27237A #3631AA #524DCC #807CD9

Accessibility & contrast

On white

9.65
#3631AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3631AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3631AA#FFFFFF#000000##FFFFFF
##3631AA1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3631aa;
/* rgb */ color: rgb(54, 49, 170);
/* oklch */ color: oklch(40.6% 0.185 276.1);
Tailwind
colors: {
  custom: {
    50: '#7d6ac4',
    500: '#3631aa',
    950: '#000000',
  },
}
SCSS
$custom: #3631aa;
$custom-light: #7d6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3631aa",
  "rgb": {
    "r": 54,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 242.479,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40611,
    "c": 0.18538,
    "h": 276.1
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#3631AA
secondary
#BFC275
accent
#DF49D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3631AA

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

Preview Lab → · Contrast checker → · Palette generator →

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