#4538AB#4538AB

#4538AB is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.176 H 281.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4538AB
RGBrgb(69, 56, 171)
HSLhsl(247, 51%, 45%)
HSVhsv(247, 67%, 67%)
CMYKcmyk(59.6%, 67.3%, 0%, 32.9%)
CIE-LABlab(31.88, 38.86, -59.83)
CIE-LCHlch(31.88, 71.34, 303.01°)
OKLaboklab(42.93% 0.0339 -0.1722)
OKLCHoklch(42.93% 0.176 281.1)
XYZxyz(11.2168, 7.0331, 39.2866)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4538AB #9EAB38
analogous
#3864AB #4538AB #7F38AB
triadic
#4538AB #AB4538 #38AB45
tetradic
#4538AB #AB3864 #9EAB38 #38AB7F
square
#4538AB #AB3864 #9EAB38 #38AB7F
split-complementary
#4538AB #AB7F38 #64AB38
monochromatic
#201A4F #32297D #4538AB #6558C8 #8F86D7

Accessibility & contrast

On white

8.73
#4538AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4538AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4538AB
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4538AB#FFFFFF#000000##FFFFFF
##4538AB1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4538ab;
/* rgb */ color: rgb(69, 56, 171);
/* oklch */ color: oklch(42.9% 0.176 281.1);
Tailwind
colors: {
  custom: {
    50: '#8470c5',
    500: '#4538ab',
    950: '#000000',
  },
}
SCSS
$custom: #4538ab;
$custom-light: #8470c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4538ab",
  "rgb": {
    "r": 69,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 246.783,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42926,
    "c": 0.17556,
    "h": 281.1
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#4538AB
secondary
#BAC17D
accent
#DA4ECA
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4538AB

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

Preview Lab → · Contrast checker → · Palette generator →

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