#4B5AAA#4B5AAA

#4B5AAA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.128 H 272.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4B5AAA
RGBrgb(75, 90, 170)
HSLhsl(231, 39%, 48%)
HSVhsv(231, 56%, 67%)
CMYKcmyk(55.9%, 47.1%, 0%, 33.3%)
CIE-LABlab(40.75, 18.25, -44.86)
CIE-LCHlch(40.75, 48.43, 292.14°)
OKLaboklab(49.61% 0.0065 -0.1278)
OKLCHoklch(49.61% 0.128 272.9)
XYZxyz(13.8112, 11.7095, 39.5548)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5AAA #AA9B4B
analogous
#4B8AAA #4B5AAA #6B4BAA
triadic
#4B5AAA #AA4B5A #5AAA4B
tetradic
#4B5AAA #AA4B8A #AA9B4B #4BAA6B
square
#4B5AAA #AA4B8A #AA9B4B #4BAA6B
split-complementary
#4B5AAA #AA6B4B #8AAA4B
monochromatic
#262D55 #384480 #4B5AAA #727EC1 #9CA5D3

Accessibility & contrast

On white

6.28
#4B5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4B5AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5AAA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5AAA#FFFFFF#000000##FFFFFF
##4B5AAA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#295CA8
Tritanopia (blue-blind)
#176C7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4b5aaa;
/* rgb */ color: rgb(75, 90, 170);
/* oklch */ color: oklch(49.6% 0.128 272.9);
Tailwind
colors: {
  custom: {
    50: '#8588c4',
    500: '#4b5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #4b5aaa;
$custom-light: #8588c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5aaa",
  "rgb": {
    "r": 75,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 230.526,
    "s": 38.776,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49607,
    "c": 0.12799,
    "h": 272.9
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#4B5AAA
secondary
#C0B891
accent
#BC59CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4B5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#4B5AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva