#4538BD#4538BD

#4538BD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.6% C 0.198 H 279.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#4538BD
RGBrgb(69, 56, 189)
HSLhsl(246, 54%, 48%)
HSVhsv(246, 70%, 74%)
CMYKcmyk(63.5%, 70.4%, 0%, 25.9%)
CIE-LABlab(33.49, 44.62, -67.88)
CIE-LCHlch(33.49, 81.23, 303.32°)
OKLaboklab(44.58% 0.0312 -0.1958)
OKLCHoklch(44.58% 0.198 279)
XYZxyz(13.0508, 7.7667, 48.9456)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538BD #B0BD38
analogous
#386DBD #4538BD #8838BD
triadic
#4538BD #BD4538 #38BD45
tetradic
#4538BD #BD386D #B0BD38 #38BD88
square
#4538BD #BD386D #B0BD38 #38BD88
split-complementary
#4538BD #BD8838 #6DBD38
monochromatic
#231C5F #342A8E #4538BD #6D62D0 #9991DE

Accessibility & contrast

On white

8.22
#4538BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4538BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4538BD
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538BD#FFFFFF#000000##FFFFFF
##4538BD1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0049BB
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4538bd;
/* rgb */ color: rgb(69, 56, 189);
/* oklch */ color: oklch(44.6% 0.198 279.0);
Tailwind
colors: {
  custom: {
    50: '#8770d2',
    500: '#4538bd',
    950: '#000000',
  },
}
SCSS
$custom: #4538bd;
$custom-light: #8770d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4538bd",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 245.865,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44576,
    "c": 0.1983,
    "h": 279
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#4538BD
secondary
#C3C987
accent
#DE4ACF
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #4538BD

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

Preview Lab → · Contrast checker → · Palette generator →

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