#4538D2#4538D2

#4538D2 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.6% C 0.224 H 277.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4538D2
RGBrgb(69, 56, 210)
HSLhsl(245, 63%, 52%)
HSVhsv(245, 73%, 82%)
CMYKcmyk(67.1%, 73.3%, 0%, 17.6%)
CIE-LABlab(35.49, 51.22, -76.85)
CIE-LCHlch(35.49, 92.35, 303.68°)
OKLaboklab(46.6% 0.0273 -0.222)
OKLCHoklch(46.6% 0.224 277)
XYZxyz(15.4975, 8.7453, 61.8316)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538D2 #C5D238
analogous
#3878D2 #4538D2 #9238D2
triadic
#4538D2 #D24538 #38D245
tetradic
#4538D2 #D23878 #C5D238 #38D292
square
#4538D2 #D23878 #C5D238 #38D292
split-complementary
#4538D2 #D29238 #78D238
monochromatic
#221A75 #3126A7 #4538D2 #746ADD #A29CE9

Accessibility & contrast

On white

7.64
#4538D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4538D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4538D2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538D2#FFFFFF#000000##FFFFFF
##4538D21.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD6
Deuteranopia (green-blind)
#004DCF
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4538d2;
/* rgb */ color: rgb(69, 56, 210);
/* oklch */ color: oklch(46.6% 0.224 277.0);
Tailwind
colors: {
  custom: {
    50: '#8b71e1',
    500: '#4538d2',
    950: '#000000',
  },
}
SCSS
$custom: #4538d2;
$custom-light: #8b71e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4538d2",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 210
  },
  "hsl": {
    "h": 245.065,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.46601,
    "c": 0.22369,
    "h": 277
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#4538D2
secondary
#CFD591
accent
#E642D8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #4538D2

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

Preview Lab → · Contrast checker → · Palette generator →

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