#4843CC#4843CC

#4843CC is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.8% C 0.204 H 277.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4843CC
RGBrgb(72, 67, 204)
HSLhsl(242, 57%, 53%)
HSVhsv(242, 67%, 80%)
CMYKcmyk(64.7%, 67.2%, 0%, 20%)
CIE-LABlab(37.39, 43.48, -70.24)
CIE-LCHlch(37.39, 82.61, 301.76°)
OKLaboklab(47.85% 0.0248 -0.2027)
OKLCHoklch(47.85% 0.204 277)
XYZxyz(15.5752, 9.7504, 58.1763)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4843CC #C7CC43
analogous
#4382CC #4843CC #8C43CC
triadic
#4843CC #CC4843 #43CC48
tetradic
#4843CC #CC4382 #C7CC43 #43CC8C
square
#4843CC #CC4382 #C7CC43 #43CC8C
split-complementary
#4843CC #CC8C43 #82CC43
monochromatic
#232075 #312DA5 #4843CC #7773D9 #A6A3E6

Accessibility & contrast

On white

7.12
#4843CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4843CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4843CC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4843CC#FFFFFF#000000##FFFFFF
##4843CC1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0052C9
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4843cc;
/* rgb */ color: rgb(72, 67, 204);
/* oklch */ color: oklch(47.8% 0.204 277.0);
Tailwind
colors: {
  custom: {
    50: '#8b78dd',
    500: '#4843cc',
    950: '#000000',
  },
}
SCSS
$custom: #4843cc;
$custom-light: #8b78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4843cc",
  "rgb": {
    "r": 72,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 242.19,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47848,
    "c": 0.20418,
    "h": 277
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#4843CC
secondary
#D1D398
accent
#E147DB
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4843CC

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

Preview Lab → · Contrast checker → · Palette generator →

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