#4843CF#4843CF

#4843CF is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.1% C 0.208 H 276.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4843CF
RGBrgb(72, 67, 207)
HSLhsl(242, 59%, 54%)
HSVhsv(242, 68%, 81%)
CMYKcmyk(65.2%, 67.6%, 0%, 18.8%)
CIE-LABlab(37.65, 44.45, -71.54)
CIE-LCHlch(37.65, 84.23, 301.86°)
OKLaboklab(48.12% 0.0245 -0.2065)
OKLCHoklch(48.12% 0.208 276.8)
XYZxyz(15.9385, 9.8957, 60.0895)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4843CF #CACF43
analogous
#4384CF #4843CF #8E43CF
triadic
#4843CF #CF4843 #43CF48
tetradic
#4843CF #CF4384 #CACF43 #43CF8E
square
#4843CF #CF4384 #CACF43 #43CF8E
split-complementary
#4843CF #CF8E43 #84CF43
monochromatic
#221F79 #302BAA #4843CF #7774DB #A7A5E8

Accessibility & contrast

On white

7.05
#4843CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4843CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4843CF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4843CF#FFFFFF#000000##FFFFFF
##4843CF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0053CC
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4843cf;
/* rgb */ color: rgb(72, 67, 207);
/* oklch */ color: oklch(48.1% 0.208 276.8);
Tailwind
colors: {
  custom: {
    50: '#8b78df',
    500: '#4843cf',
    950: '#000000',
  },
}
SCSS
$custom: #4843cf;
$custom-light: #8b78df;
$custom-dark: #000000;
JSON
{
  "hex": "#4843cf",
  "rgb": {
    "r": 72,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 242.143,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.4812,
    "c": 0.20792,
    "h": 276.8
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#4843CF
secondary
#D3D599
accent
#E345DD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4843CF

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

Preview Lab → · Contrast checker → · Palette generator →

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