#4831CC#4831CC

#4831CC is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.3% C 0.223 H 279.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4831CC
RGBrgb(72, 49, 204)
HSLhsl(249, 61%, 50%)
HSVhsv(249, 76%, 80%)
CMYKcmyk(64.7%, 76%, 0%, 20%)
CIE-LABlab(33.84, 53.34, -76.07)
CIE-LCHlch(33.84, 92.91, 305.04°)
OKLaboklab(45.32% 0.0366 -0.2196)
OKLCHoklch(45.32% 0.223 279.5)
XYZxyz(14.6664, 7.9328, 57.8733)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4831CC #B5CC31
analogous
#3168CC #4831CC #9531CC
triadic
#4831CC #CC4831 #31CC48
tetradic
#4831CC #CC3168 #B5CC31 #31CC95
square
#4831CC #CC3168 #B5CC31 #31CC95
split-complementary
#4831CC #CC9531 #68CC31
monochromatic
#251969 #37259B #4831CC #7361D9 #9F92E5

Accessibility & contrast

On white

8.12
#4831CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4831CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4831CC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4831CC#FFFFFF#000000##FFFFFF
##4831CC1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D0
Deuteranopia (green-blind)
#0049C9
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4831cc;
/* rgb */ color: rgb(72, 49, 204);
/* oklch */ color: oklch(45.3% 0.223 279.5);
Tailwind
colors: {
  custom: {
    50: '#8c6ddd',
    500: '#4831cc',
    950: '#000000',
  },
}
SCSS
$custom: #4831cc;
$custom-light: #8c6ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#4831cc",
  "rgb": {
    "r": 72,
    "g": 49,
    "b": 204
  },
  "hsl": {
    "h": 248.903,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4532,
    "c": 0.22266,
    "h": 279.5
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#4831CC
secondary
#C5D089
accent
#E443CC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4831CC

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

Preview Lab → · Contrast checker → · Palette generator →

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