#4538C6#4538C6

#4538C6 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.4% C 0.209 H 278.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4538C6
RGBrgb(69, 56, 198)
HSLhsl(245, 56%, 50%)
HSVhsv(245, 72%, 78%)
CMYKcmyk(65.2%, 71.7%, 0%, 22.4%)
CIE-LABlab(34.33, 47.47, -71.77)
CIE-LCHlch(34.33, 86.05, 303.48°)
OKLaboklab(45.43% 0.0296 -0.2072)
OKLCHoklch(45.43% 0.209 278.1)
XYZxyz(14.0582, 8.1696, 54.2512)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538C6 #B9C638
analogous
#3872C6 #4538C6 #8C38C6
triadic
#4538C6 #C64538 #38C645
tetradic
#4538C6 #C63872 #B9C638 #38C68C
square
#4538C6 #C63872 #B9C638 #38C68C
split-complementary
#4538C6 #C68C38 #72C638
monochromatic
#241D67 #342B96 #4538C6 #7167D4 #9E97E2

Accessibility & contrast

On white

7.97
#4538C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4538C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4538C6
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538C6#FFFFFF#000000##FFFFFF
##4538C61.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004BC3
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4538c6;
/* rgb */ color: rgb(69, 56, 198);
/* oklch */ color: oklch(45.4% 0.209 278.1);
Tailwind
colors: {
  custom: {
    50: '#8971d9',
    500: '#4538c6',
    950: '#000000',
  },
}
SCSS
$custom: #4538c6;
$custom-light: #8971d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4538c6",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 245.493,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45432,
    "c": 0.20932,
    "h": 278.1
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#4538C6
secondary
#C7CD8D
accent
#DF49D1
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4538C6

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

Preview Lab → · Contrast checker → · Palette generator →

#4538C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva