#4843CA#4843CA

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

Color values

HEX#4843CA
RGBrgb(72, 67, 202)
HSLhsl(242, 56%, 53%)
HSVhsv(242, 67%, 79%)
CMYKcmyk(64.4%, 66.8%, 0%, 20.8%)
CIE-LABlab(37.22, 42.83, -69.36)
CIE-LCHlch(37.22, 81.52, 301.69°)
OKLaboklab(47.67% 0.0251 -0.2001)
OKLCHoklch(47.67% 0.202 277.1)
XYZxyz(15.3369, 9.6550, 56.9210)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4843CA #C5CA43
analogous
#4382CA #4843CA #8B43CA
triadic
#4843CA #CA4843 #43CA48
tetradic
#4843CA #CA4382 #C5CA43 #43CA8B
square
#4843CA #CA4382 #C5CA43 #43CA8B
split-complementary
#4843CA #CA8B43 #82CA43
monochromatic
#232072 #322EA2 #4843CA #7673D7 #A5A2E5

Accessibility & contrast

On white

7.16
#4843CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4843CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4843CA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4843CA#FFFFFF#000000##FFFFFF
##4843CA1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4843ca;
/* rgb */ color: rgb(72, 67, 202);
/* oklch */ color: oklch(47.7% 0.202 277.1);
Tailwind
colors: {
  custom: {
    50: '#8a78db',
    500: '#4843ca',
    950: '#000000',
  },
}
SCSS
$custom: #4843ca;
$custom-light: #8a78db;
$custom-dark: #000000;
JSON
{
  "hex": "#4843ca",
  "rgb": {
    "r": 72,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 242.222,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47669,
    "c": 0.20167,
    "h": 277.1
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#4843CA
secondary
#CFD297
accent
#DF48DA
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4843CA

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

Preview Lab → · Contrast checker → · Palette generator →

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