#4B54BB#4B54BB

#4B54BB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.6% C 0.160 H 275.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4B54BB
RGBrgb(75, 84, 187)
HSLhsl(235, 45%, 51%)
HSVhsv(235, 60%, 73%)
CMYKcmyk(59.9%, 55.1%, 0%, 26.7%)
CIE-LABlab(40.28, 27.83, -55.61)
CIE-LCHlch(40.28, 62.19, 296.58°)
OKLaboklab(49.61% 0.0144 -0.1595)
OKLCHoklch(49.61% 0.16 275.2)
XYZxyz(15.0387, 11.4232, 48.4165)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B54BB #BBB24B
analogous
#4B8CBB #4B54BB #7A4BBB
triadic
#4B54BB #BB4B54 #54BB4B
tetradic
#4B54BB #BB4B8C #BBB24B #4BBB7A
square
#4B54BB #BB4B8C #BBB24B #4BBB7A
split-complementary
#4B54BB #BB7A4B #8CBB4B
monochromatic
#262B65 #373E92 #4B54BB #777ECC #A4A8DD

Accessibility & contrast

On white

6.39
#4B54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4B54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B54BB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B54BB#FFFFFF#000000##FFFFFF
##4B54BB1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0764BF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4b54bb;
/* rgb */ color: rgb(75, 84, 187);
/* oklch */ color: oklch(49.6% 0.160 275.2);
Tailwind
colors: {
  custom: {
    50: '#8884d0',
    500: '#4b54bb',
    950: '#000000',
  },
}
SCSS
$custom: #4b54bb;
$custom-light: #8884d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b54bb",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 235.179,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49612,
    "c": 0.16017,
    "h": 275.2
  },
  "luminance": 0.11424
}

Semantic roles & 50–950 ramp

primary
#4B54BB
secondary
#CAC698
accent
#CA53D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4B54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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