#4531B4#4531B4

#4531B4 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.7% C 0.195 H 281.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#4531B4
RGBrgb(69, 49, 180)
HSLhsl(249, 57%, 45%)
HSVhsv(249, 73%, 71%)
CMYKcmyk(61.7%, 72.8%, 0%, 29.4%)
CIE-LABlab(31.25, 45.70, -66.24)
CIE-LCHlch(31.25, 80.48, 304.60°)
OKLaboklab(42.72% 0.0379 -0.191)
OKLCHoklch(42.72% 0.195 281.2)
XYZxyz(11.7882, 6.7563, 43.8541)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4531B4 #A0B431
analogous
#315FB4 #4531B4 #8631B4
triadic
#4531B4 #B44531 #31B445
tetradic
#4531B4 #B4315F #A0B431 #31B486
square
#4531B4 #B4315F #A0B431 #31B486
split-complementary
#4531B4 #B48631 #5FB431
monochromatic
#201754 #332484 #4531B4 #6552D0 #9082DD

Accessibility & contrast

On white

8.93
#4531B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4531B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4531B4
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4531B4#FFFFFF#000000##FFFFFF
##4531B41.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4531b4;
/* rgb */ color: rgb(69, 49, 180);
/* oklch */ color: oklch(42.7% 0.195 281.2);
Tailwind
colors: {
  custom: {
    50: '#866ccc',
    500: '#4531b4',
    950: '#000000',
  },
}
SCSS
$custom: #4531b4;
$custom-light: #866ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#4531b4",
  "rgb": {
    "r": 69,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 249.16,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4272,
    "c": 0.19475,
    "h": 281.2
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#4531B4
secondary
#BBC67B
accent
#E047C9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4531B4

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

Preview Lab → · Contrast checker → · Palette generator →

#4531B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva