#4538C4#4538C4

#4538C4 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.207 H 278.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4538C4
RGBrgb(69, 56, 196)
HSLhsl(246, 56%, 49%)
HSVhsv(246, 71%, 77%)
CMYKcmyk(64.8%, 71.4%, 0%, 23.1%)
CIE-LABlab(34.14, 46.84, -70.91)
CIE-LCHlch(34.14, 84.99, 303.44°)
OKLaboklab(45.24% 0.03 -0.2047)
OKLCHoklch(45.24% 0.207 278.3)
XYZxyz(13.8290, 8.0779, 53.0443)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538C4 #B7C438
analogous
#3871C4 #4538C4 #8B38C4
triadic
#4538C4 #C44538 #38C445
tetradic
#4538C4 #C43871 #B7C438 #38C48B
square
#4538C4 #C43871 #B7C438 #38C48B
split-complementary
#4538C4 #C48B38 #71C438
monochromatic
#231D65 #342A94 #4538C4 #7066D3 #9D96E1

Accessibility & contrast

On white

8.03
#4538C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4538C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4538C4
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538C4#FFFFFF#000000##FFFFFF
##4538C41.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004BC1
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4538c4;
/* rgb */ color: rgb(69, 56, 196);
/* oklch */ color: oklch(45.2% 0.207 278.3);
Tailwind
colors: {
  custom: {
    50: '#8870d7',
    500: '#4538c4',
    950: '#000000',
  },
}
SCSS
$custom: #4538c4;
$custom-light: #8870d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4538c4",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 245.571,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45241,
    "c": 0.20689,
    "h": 278.3
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#4538C4
secondary
#C6CC8C
accent
#DF49D1
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4538C4

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

Preview Lab → · Contrast checker → · Palette generator →

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