#4B54C8#4B54C8

#4B54C8 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.178 H 274.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4B54C8
RGBrgb(75, 84, 200)
HSLhsl(236, 53%, 54%)
HSVhsv(236, 63%, 78%)
CMYKcmyk(62.5%, 58%, 0%, 21.6%)
CIE-LABlab(41.22, 32.23, -61.65)
CIE-LCHlch(41.22, 69.57, 297.60°)
OKLaboklab(50.61% 0.0147 -0.1773)
OKLCHoklch(50.61% 0.178 274.7)
XYZxyz(16.4939, 12.0053, 56.0804)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B54C8 #C8BF4B
analogous
#4B93C8 #4B54C8 #814BC8
triadic
#4B54C8 #C84B54 #54C84B
tetradic
#4B54C8 #C84B93 #C8BF4B #4BC881
square
#4B54C8 #C84B93 #C8BF4B #4BC881
split-complementary
#4B54C8 #C8814B #93C84B
monochromatic
#242A75 #323AA4 #4B54C8 #7A81D6 #A9ADE5

Accessibility & contrast

On white

6.17
#4B54C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4B54C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B54C8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B54C8#FFFFFF#000000##FFFFFF
##4B54C81.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b54c8;
/* rgb */ color: rgb(75, 84, 200);
/* oklch */ color: oklch(50.6% 0.178 274.7);
Tailwind
colors: {
  custom: {
    50: '#8a84da',
    500: '#4b54c8',
    950: '#000000',
  },
}
SCSS
$custom: #4b54c8;
$custom-light: #8a84da;
$custom-dark: #000000;
JSON
{
  "hex": "#4b54c8",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 235.68,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5061,
    "c": 0.1779,
    "h": 274.7
  },
  "luminance": 0.12007
}

Semantic roles & 50–950 ramp

primary
#4B54C8
secondary
#D2CE9D
accent
#D24BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4B54C8

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

Preview Lab → · Contrast checker → · Palette generator →

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