#4538C1#4538C1

#4538C1 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 45.0% C 0.203 H 278.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4538C1
RGBrgb(69, 56, 193)
HSLhsl(246, 55%, 49%)
HSVhsv(246, 71%, 76%)
CMYKcmyk(64.2%, 71%, 0%, 24.3%)
CIE-LABlab(33.86, 45.89, -69.62)
CIE-LCHlch(33.86, 83.38, 303.39°)
OKLaboklab(44.96% 0.0305 -0.2009)
OKLCHoklch(44.96% 0.203 278.6)
XYZxyz(13.4910, 7.9427, 51.2639)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538C1 #B4C138
analogous
#3870C1 #4538C1 #8A38C1
triadic
#4538C1 #C14538 #38C145
tetradic
#4538C1 #C13870 #B4C138 #38C18A
square
#4538C1 #C13870 #B4C138 #38C18A
split-complementary
#4538C1 #C18A38 #70C138
monochromatic
#231C62 #342A92 #4538C1 #6F64D2 #9B94E0

Accessibility & contrast

On white

8.11
#4538C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4538C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4538C1
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538C1#FFFFFF#000000##FFFFFF
##4538C11.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4538c1;
/* rgb */ color: rgb(69, 56, 193);
/* oklch */ color: oklch(45.0% 0.203 278.6);
Tailwind
colors: {
  custom: {
    50: '#8870d5',
    500: '#4538c1',
    950: '#000000',
  },
}
SCSS
$custom: #4538c1;
$custom-light: #8870d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4538c1",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 245.693,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44955,
    "c": 0.20322,
    "h": 278.6
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#4538C1
secondary
#C5CB8A
accent
#DE49D0
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4538C1

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

Preview Lab → · Contrast checker → · Palette generator →

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