#4538C5#4538C5

#4538C5 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.208 H 278.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#4538C5
RGBrgb(69, 56, 197)
HSLhsl(246, 56%, 50%)
HSVhsv(246, 72%, 77%)
CMYKcmyk(65%, 71.6%, 0%, 22.7%)
CIE-LABlab(34.24, 47.15, -71.34)
CIE-LCHlch(34.24, 85.52, 303.46°)
OKLaboklab(45.34% 0.0298 -0.206)
OKLCHoklch(45.34% 0.208 278.2)
XYZxyz(13.9432, 8.1236, 53.6457)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538C5 #B8C538
analogous
#3872C5 #4538C5 #8C38C5
triadic
#4538C5 #C54538 #38C545
tetradic
#4538C5 #C53872 #B8C538 #38C58C
square
#4538C5 #C53872 #B8C538 #38C58C
split-complementary
#4538C5 #C58C38 #72C538
monochromatic
#241D66 #342A95 #4538C5 #7167D4 #9D96E1

Accessibility & contrast

On white

8.00
#4538C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4538C5
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538C5#FFFFFF#000000##FFFFFF
##4538C51.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4538c5;
/* rgb */ color: rgb(69, 56, 197);
/* oklch */ color: oklch(45.3% 0.208 278.2);
Tailwind
colors: {
  custom: {
    50: '#8971d8',
    500: '#4538c5',
    950: '#000000',
  },
}
SCSS
$custom: #4538c5;
$custom-light: #8971d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4538c5",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 245.532,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45336,
    "c": 0.2081,
    "h": 278.2
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4538C5

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

Preview Lab → · Contrast checker → · Palette generator →

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