#4538C7#4538C7

#4538C7 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.5% C 0.211 H 278.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4538C7
RGBrgb(69, 56, 199)
HSLhsl(245, 56%, 50%)
HSVhsv(245, 72%, 78%)
CMYKcmyk(65.3%, 71.9%, 0%, 22%)
CIE-LABlab(34.43, 47.78, -72.20)
CIE-LCHlch(34.43, 86.58, 303.50°)
OKLaboklab(45.53% 0.0294 -0.2085)
OKLCHoklch(45.53% 0.211 278)
XYZxyz(14.1739, 8.2159, 54.8606)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538C7 #BAC738
analogous
#3872C7 #4538C7 #8D38C7
triadic
#4538C7 #C74538 #38C745
tetradic
#4538C7 #C73872 #BAC738 #38C78D
square
#4538C7 #C73872 #BAC738 #38C78D
split-complementary
#4538C7 #C78D38 #72C738
monochromatic
#241D67 #342B97 #4538C7 #7268D4 #9E98E2

Accessibility & contrast

On white

7.94
#4538C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4538C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4538C7
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538C7#FFFFFF#000000##FFFFFF
##4538C71.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4538c7;
/* rgb */ color: rgb(69, 56, 199);
/* oklch */ color: oklch(45.5% 0.211 278.0);
Tailwind
colors: {
  custom: {
    50: '#8971d9',
    500: '#4538c7',
    950: '#000000',
  },
}
SCSS
$custom: #4538c7;
$custom-light: #8971d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4538c7",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 245.455,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.45529,
    "c": 0.21053,
    "h": 278
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#4538C7
secondary
#C8CD8D
accent
#DF48D2
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4538C7

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

Preview Lab → · Contrast checker → · Palette generator →

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