#3631B9#3631B9

#3631B9 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.1% C 0.204 H 274.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#3631B9
RGBrgb(54, 49, 185)
HSLhsl(242, 58%, 46%)
HSVhsv(242, 74%, 73%)
CMYKcmyk(70.8%, 73.5%, 0%, 27.5%)
CIE-LABlab(30.60, 45.53, -70.31)
CIE-LCHlch(30.60, 83.77, 302.93°)
OKLaboklab(42.12% 0.017 -0.2033)
OKLCHoklch(42.12% 0.204 274.8)
XYZxyz(11.3737, 6.4826, 46.5414)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3631B9 #B4B931
analogous
#3170B9 #3631B9 #7A31B9
triadic
#3631B9 #B93631 #31B936
tetradic
#3631B9 #B93170 #B4B931 #31B97A
square
#3631B9 #B93170 #B4B931 #31B97A
split-complementary
#3631B9 #B97A31 #70B931
monochromatic
#1A1758 #282489 #3631B9 #5A55D2 #8986DF

Accessibility & contrast

On white

9.14
#3631B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3631B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3631B9#FFFFFF#000000##FFFFFF
##3631B91.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3631b9;
/* rgb */ color: rgb(54, 49, 185);
/* oklch */ color: oklch(42.1% 0.204 274.8);
Tailwind
colors: {
  custom: {
    50: '#806bcf',
    500: '#3631b9',
    950: '#000000',
  },
}
SCSS
$custom: #3631b9;
$custom-light: #806bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3631b9",
  "rgb": {
    "r": 54,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 242.206,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42118,
    "c": 0.20403,
    "h": 274.8
  },
  "luminance": 0.06484
}

Semantic roles & 50–950 ramp

primary
#3631B9
secondary
#C6C87D
accent
#E146DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3631B9

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

Preview Lab → · Contrast checker → · Palette generator →

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