#4B54BC#4B54BC

#4B54BC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.162 H 275.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4B54BC
RGBrgb(75, 84, 188)
HSLhsl(235, 46%, 52%)
HSVhsv(235, 60%, 74%)
CMYKcmyk(60.1%, 55.3%, 0%, 26.3%)
CIE-LABlab(40.35, 28.17, -56.08)
CIE-LCHlch(40.35, 62.76, 296.67°)
OKLaboklab(49.69% 0.0145 -0.1609)
OKLCHoklch(49.69% 0.162 275.1)
XYZxyz(15.1461, 11.4662, 48.9822)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B54BC #BCB34B
analogous
#4B8DBC #4B54BC #7B4BBC
triadic
#4B54BC #BC4B54 #54BC4B
tetradic
#4B54BC #BC4B8D #BCB34B #4BBC7B
square
#4B54BC #BC4B8D #BCB34B #4BBC7B
split-complementary
#4B54BC #BC7B4B #8DBC4B
monochromatic
#262B66 #373E93 #4B54BC #787ECD #A4A9DD

Accessibility & contrast

On white

6.38
#4B54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4B54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B54BC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B54BC#FFFFFF#000000##FFFFFF
##4B54BC1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0364C0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4b54bc;
/* rgb */ color: rgb(75, 84, 188);
/* oklch */ color: oklch(49.7% 0.162 275.1);
Tailwind
colors: {
  custom: {
    50: '#8884d1',
    500: '#4b54bc',
    950: '#000000',
  },
}
SCSS
$custom: #4b54bc;
$custom-light: #8884d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b54bc",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 235.221,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49688,
    "c": 0.16155,
    "h": 275.1
  },
  "luminance": 0.11467
}

Semantic roles & 50–950 ramp

primary
#4B54BC
secondary
#CAC699
accent
#CB52D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4B54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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