#3631B3#3631B3

#3631B3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.5% C 0.197 H 275.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3631B3
RGBrgb(54, 49, 179)
HSLhsl(242, 57%, 45%)
HSVhsv(242, 73%, 70%)
CMYKcmyk(69.8%, 72.6%, 0%, 29.8%)
CIE-LABlab(30.00, 43.57, -67.74)
CIE-LCHlch(30.00, 80.54, 302.75°)
OKLaboklab(41.51% 0.0181 -0.1958)
OKLCHoklch(41.51% 0.197 275.3)
XYZxyz(10.7536, 6.2346, 43.2758)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3631B3 #AEB331
analogous
#316DB3 #3631B3 #7731B3
triadic
#3631B3 #B33631 #31B336
tetradic
#3631B3 #B3316D #AEB331 #31B377
square
#3631B3 #B3316D #AEB331 #31B377
split-complementary
#3631B3 #B37731 #6DB331
monochromatic
#191753 #282483 #3631B3 #5652D0 #8582DD

Accessibility & contrast

On white

9.34
#3631B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3631B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3631B3#FFFFFF#000000##FFFFFF
##3631B31.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3631b3;
/* rgb */ color: rgb(54, 49, 179);
/* oklch */ color: oklch(41.5% 0.197 275.3);
Tailwind
colors: {
  custom: {
    50: '#7f6bcb',
    500: '#3631b3',
    950: '#000000',
  },
}
SCSS
$custom: #3631b3;
$custom-light: #7f6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3631b3",
  "rgb": {
    "r": 54,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 242.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41509,
    "c": 0.19665,
    "h": 275.3
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#3631B3
secondary
#C3C67A
accent
#E048DA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3631B3

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

Preview Lab → · Contrast checker → · Palette generator →

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