#4538CD#4538CD

#4538CD is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.1% C 0.218 H 277.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#4538CD
RGBrgb(69, 56, 205)
HSLhsl(245, 60%, 51%)
HSVhsv(245, 73%, 80%)
CMYKcmyk(66.3%, 72.7%, 0%, 19.6%)
CIE-LABlab(35.00, 49.66, -74.75)
CIE-LCHlch(35.00, 89.74, 303.60°)
OKLaboklab(46.11% 0.0282 -0.2159)
OKLCHoklch(46.11% 0.218 277.5)
XYZxyz(14.8843, 8.5001, 58.6021)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538CD #C0CD38
analogous
#3875CD #4538CD #8F38CD
triadic
#4538CD #CD4538 #38CD45
tetradic
#4538CD #CD3875 #C0CD38 #38CD8F
square
#4538CD #CD3875 #C0CD38 #38CD8F
split-complementary
#4538CD #CD8F38 #75CD38
monochromatic
#231C6F #3328A0 #4538CD #7369D9 #A09AE6

Accessibility & contrast

On white

7.78
#4538CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4538CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4538CD
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538CD#FFFFFF#000000##FFFFFF
##4538CD1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D1
Deuteranopia (green-blind)
#004CCA
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4538cd;
/* rgb */ color: rgb(69, 56, 205);
/* oklch */ color: oklch(46.1% 0.218 277.5);
Tailwind
colors: {
  custom: {
    50: '#8a71de',
    500: '#4538cd',
    950: '#000000',
  },
}
SCSS
$custom: #4538cd;
$custom-light: #8a71de;
$custom-dark: #000000;
JSON
{
  "hex": "#4538cd",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 245.235,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46111,
    "c": 0.21774,
    "h": 277.5
  },
  "luminance": 0.08501
}

Semantic roles & 50–950 ramp

primary
#4538CD
secondary
#CCD18F
accent
#E345D5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4538CD

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

Preview Lab → · Contrast checker → · Palette generator →

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