#4538D1#4538D1

#4538D1 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.5% C 0.223 H 277.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4538D1
RGBrgb(69, 56, 209)
HSLhsl(245, 62%, 52%)
HSVhsv(245, 73%, 82%)
CMYKcmyk(67%, 73.2%, 0%, 18%)
CIE-LABlab(35.39, 50.91, -76.43)
CIE-LCHlch(35.39, 91.83, 303.67°)
OKLaboklab(46.5% 0.0275 -0.2208)
OKLCHoklch(46.5% 0.223 277.1)
XYZxyz(15.3733, 8.6957, 61.1775)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538D1 #C4D138
analogous
#3878D1 #4538D1 #9238D1
triadic
#4538D1 #D14538 #38D145
tetradic
#4538D1 #D13878 #C4D138 #38D192
square
#4538D1 #D13878 #C4D138 #38D192
split-complementary
#4538D1 #D19238 #78D138
monochromatic
#221B74 #3126A6 #4538D1 #736ADC #A29BE8

Accessibility & contrast

On white

7.67
#4538D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4538D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4538D1
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538D1#FFFFFF#000000##FFFFFF
##4538D11.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4538d1;
/* rgb */ color: rgb(69, 56, 209);
/* oklch */ color: oklch(46.5% 0.223 277.1);
Tailwind
colors: {
  custom: {
    50: '#8b71e0',
    500: '#4538d1',
    950: '#000000',
  },
}
SCSS
$custom: #4538d1;
$custom-light: #8b71e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4538d1",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 245.098,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46503,
    "c": 0.22251,
    "h": 277.1
  },
  "luminance": 0.08697
}

Semantic roles & 50–950 ramp

primary
#4538D1
secondary
#CED491
accent
#E642D8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4538D1

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

Preview Lab → · Contrast checker → · Palette generator →

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