#3631B8#3631B8

#3631B8 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.0% C 0.203 H 274.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3631B8
RGBrgb(54, 49, 184)
HSLhsl(242, 58%, 46%)
HSVhsv(242, 73%, 72%)
CMYKcmyk(70.7%, 73.4%, 0%, 27.8%)
CIE-LABlab(30.50, 45.21, -69.89)
CIE-LCHlch(30.50, 83.24, 302.90°)
OKLaboklab(42.02% 0.0172 -0.2021)
OKLCHoklch(42.02% 0.203 274.9)
XYZxyz(11.2685, 6.4405, 45.9874)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3631B8 #B3B831
analogous
#316FB8 #3631B8 #7931B8
triadic
#3631B8 #B83631 #31B836
tetradic
#3631B8 #B8316F #B3B831 #31B879
square
#3631B8 #B8316F #B3B831 #31B879
split-complementary
#3631B8 #B87931 #6FB831
monochromatic
#1A1757 #282488 #3631B8 #5955D2 #8885DE

Accessibility & contrast

On white

9.18
#3631B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3631B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3631B8#FFFFFF#000000##FFFFFF
##3631B81.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3631b8;
/* rgb */ color: rgb(54, 49, 184);
/* oklch */ color: oklch(42.0% 0.203 274.9);
Tailwind
colors: {
  custom: {
    50: '#806bcf',
    500: '#3631b8',
    950: '#000000',
  },
}
SCSS
$custom: #3631b8;
$custom-light: #806bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3631b8",
  "rgb": {
    "r": 54,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 242.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42016,
    "c": 0.2028,
    "h": 274.9
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#3631B8
secondary
#C5C87D
accent
#E147DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3631B8

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

Preview Lab → · Contrast checker → · Palette generator →

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