#4631B5#4631B5

#4631B5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.9% C 0.196 H 281.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4631B5
RGBrgb(70, 49, 181)
HSLhsl(250, 57%, 45%)
HSVhsv(250, 73%, 71%)
CMYKcmyk(61.3%, 72.9%, 0%, 29%)
CIE-LABlab(31.43, 46.14, -66.54)
CIE-LCHlch(31.43, 80.97, 304.74°)
OKLaboklab(42.9% 0.0391 -0.1918)
OKLCHoklch(42.9% 0.196 281.5)
XYZxyz(11.9620, 6.8341, 44.3959)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4631B5 #A0B531
analogous
#315EB5 #4631B5 #8831B5
triadic
#4631B5 #B54631 #31B546
tetradic
#4631B5 #B5315E #A0B531 #31B588
square
#4631B5 #B5315E #A0B531 #31B588
split-complementary
#4631B5 #B58831 #5EB531
monochromatic
#211755 #332485 #4631B5 #6753D0 #9183DD

Accessibility & contrast

On white

8.87
#4631B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4631B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4631B5
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4631B5#FFFFFF#000000##FFFFFF
##4631B51.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4631b5;
/* rgb */ color: rgb(70, 49, 181);
/* oklch */ color: oklch(42.9% 0.196 281.5);
Tailwind
colors: {
  custom: {
    50: '#876ccc',
    500: '#4631b5',
    950: '#000000',
  },
}
SCSS
$custom: #4631b5;
$custom-light: #876ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#4631b5",
  "rgb": {
    "r": 70,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 249.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.1958,
    "h": 281.5
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#4631B5
secondary
#BBC77B
accent
#E147C8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0714
muted
#7D7A82

Preview Lab

Preview with #4631B5

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

Preview Lab → · Contrast checker → · Palette generator →

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