#4843CB#4843CB

#4843CB is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.8% C 0.203 H 277.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4843CB
RGBrgb(72, 67, 203)
HSLhsl(242, 57%, 53%)
HSVhsv(242, 67%, 80%)
CMYKcmyk(64.5%, 67%, 0%, 20.4%)
CIE-LABlab(37.30, 43.16, -69.80)
CIE-LCHlch(37.30, 82.06, 301.73°)
OKLaboklab(47.76% 0.025 -0.2014)
OKLCHoklch(47.76% 0.203 277.1)
XYZxyz(15.4556, 9.7025, 57.5466)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4843CB #C6CB43
analogous
#4382CB #4843CB #8C43CB
triadic
#4843CB #CB4843 #43CB48
tetradic
#4843CB #CB4382 #C6CB43 #43CB8C
square
#4843CB #CB4382 #C6CB43 #43CB8C
split-complementary
#4843CB #CB8C43 #82CB43
monochromatic
#232074 #322DA4 #4843CB #7773D8 #A5A3E6

Accessibility & contrast

On white

7.14
#4843CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4843CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4843CB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4843CB#FFFFFF#000000##FFFFFF
##4843CB1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4843cb;
/* rgb */ color: rgb(72, 67, 203);
/* oklch */ color: oklch(47.8% 0.203 277.1);
Tailwind
colors: {
  custom: {
    50: '#8a78dc',
    500: '#4843cb',
    950: '#000000',
  },
}
SCSS
$custom: #4843cb;
$custom-light: #8a78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4843cb",
  "rgb": {
    "r": 72,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 242.206,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47758,
    "c": 0.20292,
    "h": 277.1
  },
  "luminance": 0.09704
}

Semantic roles & 50–950 ramp

primary
#4843CB
secondary
#D0D298
accent
#E048DA
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4843CB

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

Preview Lab → · Contrast checker → · Palette generator →

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