#4631B7#4631B7

#4631B7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 43.1% C 0.198 H 281.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4631B7
RGBrgb(70, 49, 183)
HSLhsl(249, 58%, 45%)
HSVhsv(249, 73%, 72%)
CMYKcmyk(61.7%, 73.2%, 0%, 28.2%)
CIE-LABlab(31.62, 46.76, -67.41)
CIE-LCHlch(31.62, 82.04, 304.75°)
OKLaboklab(43.09% 0.0387 -0.1944)
OKLCHoklch(43.09% 0.198 281.3)
XYZxyz(12.1687, 6.9167, 45.4844)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4631B7 #A2B731
analogous
#315FB7 #4631B7 #8931B7
triadic
#4631B7 #B74631 #31B746
tetradic
#4631B7 #B7315F #A2B731 #31B789
square
#4631B7 #B7315F #A2B731 #31B789
split-complementary
#4631B7 #B78931 #5FB731
monochromatic
#211756 #342487 #4631B7 #6854D1 #9284DE

Accessibility & contrast

On white

8.81
#4631B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4631B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4631B7
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4631B7#FFFFFF#000000##FFFFFF
##4631B71.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4631b7;
/* rgb */ color: rgb(70, 49, 183);
/* oklch */ color: oklch(43.1% 0.198 281.3);
Tailwind
colors: {
  custom: {
    50: '#876cce',
    500: '#4631b7',
    950: '#000000',
  },
}
SCSS
$custom: #4631b7;
$custom-light: #876cce;
$custom-dark: #000000;
JSON
{
  "hex": "#4631b7",
  "rgb": {
    "r": 70,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 249.403,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43091,
    "c": 0.19821,
    "h": 281.3
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#4631B7
secondary
#BCC87C
accent
#E147C9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0714
muted
#7D7A82

Preview Lab

Preview with #4631B7

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

Preview Lab → · Contrast checker → · Palette generator →

#4631B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva