#4838C3#4838C3

#4838C3 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.4% C 0.205 H 279.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4838C3
RGBrgb(72, 56, 195)
HSLhsl(247, 55%, 49%)
HSVhsv(247, 71%, 76%)
CMYKcmyk(63.1%, 71.3%, 0%, 23.5%)
CIE-LABlab(34.28, 46.90, -70.09)
CIE-LCHlch(34.28, 84.34, 303.79°)
OKLaboklab(45.37% 0.0341 -0.2022)
OKLCHoklch(45.37% 0.205 279.6)
XYZxyz(13.9338, 8.1451, 52.4571)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4838C3 #B3C338
analogous
#386EC3 #4838C3 #8D38C3
triadic
#4838C3 #C34838 #38C348
tetradic
#4838C3 #C3386E #B3C338 #38C38D
square
#4838C3 #C3386E #B3C338 #38C38D
split-complementary
#4838C3 #C38D38 #6EC338
monochromatic
#251D64 #362A93 #4838C3 #7265D3 #9E95E1

Accessibility & contrast

On white

7.99
#4838C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4838C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4838C3
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4838C3#FFFFFF#000000##FFFFFF
##4838C31.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4838c3;
/* rgb */ color: rgb(72, 56, 195);
/* oklch */ color: oklch(45.4% 0.205 279.6);
Tailwind
colors: {
  custom: {
    50: '#8a71d6',
    500: '#4838c3',
    950: '#000000',
  },
}
SCSS
$custom: #4838c3;
$custom-light: #8a71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4838c3",
  "rgb": {
    "r": 72,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 246.906,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4537,
    "c": 0.20508,
    "h": 279.6
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#4838C3
secondary
#C4CC8B
accent
#DF49CD
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4838C3

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

Preview Lab → · Contrast checker → · Palette generator →

#4838C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva