#4831BF#4831BF

#4831BF is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.0% C 0.207 H 281.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4831BF
RGBrgb(72, 49, 191)
HSLhsl(250, 59%, 47%)
HSVhsv(250, 74%, 75%)
CMYKcmyk(62.3%, 74.3%, 0%, 25.1%)
CIE-LABlab(32.56, 49.44, -70.58)
CIE-LCHlch(32.56, 86.18, 305.01°)
OKLaboklab(44.03% 0.0397 -0.2036)
OKLCHoklch(44.03% 0.207 281)
XYZxyz(13.1718, 7.3350, 50.0018)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4831BF #A8BF31
analogous
#3161BF #4831BF #8F31BF
triadic
#4831BF #BF4831 #31BF48
tetradic
#4831BF #BF3161 #A8BF31 #31BF8F
square
#4831BF #BF3161 #A8BF31 #31BF8F
split-complementary
#4831BF #BF8F31 #61BF31
monochromatic
#23185E #36258E #4831BF #6D59D4 #988AE1

Accessibility & contrast

On white

8.51
#4831BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4831BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4831BF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4831BF#FFFFFF#000000##FFFFFF
##4831BF1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4831bf;
/* rgb */ color: rgb(72, 49, 191);
/* oklch */ color: oklch(44.0% 0.207 281.0);
Tailwind
colors: {
  custom: {
    50: '#8a6cd4',
    500: '#4831bf',
    950: '#000000',
  },
}
SCSS
$custom: #4831bf;
$custom-light: #8a6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4831bf",
  "rgb": {
    "r": 72,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 249.718,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44031,
    "c": 0.20745,
    "h": 281
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#4831BF
secondary
#BFCB81
accent
#E245C9
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4831BF

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

Preview Lab → · Contrast checker → · Palette generator →

#4831BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva