#4A54BC#4A54BC

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

Color values

HEX#4A54BC
RGBrgb(74, 84, 188)
HSLhsl(235, 46%, 51%)
HSVhsv(235, 61%, 74%)
CMYKcmyk(60.6%, 55.3%, 0%, 26.3%)
CIE-LABlab(40.29, 27.99, -56.19)
CIE-LCHlch(40.29, 62.78, 296.48°)
OKLaboklab(49.62% 0.0133 -0.1612)
OKLCHoklch(49.62% 0.162 274.7)
XYZxyz(15.0685, 11.4262, 48.9786)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A54BC #BCB24A
analogous
#4A8DBC #4A54BC #794ABC
triadic
#4A54BC #BC4A54 #54BC4A
tetradic
#4A54BC #BC4A8D #BCB24A #4ABC79
square
#4A54BC #BC4A8D #BCB24A #4ABC79
split-complementary
#4A54BC #BC794A #8DBC4A
monochromatic
#262B66 #363E93 #4A54BC #777ECD #A3A8DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A54BC#FFFFFF#000000##FFFFFF
##4A54BC1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a54bc;
/* rgb */ color: rgb(74, 84, 188);
/* oklch */ color: oklch(49.6% 0.162 274.7);
Tailwind
colors: {
  custom: {
    50: '#8784d1',
    500: '#4a54bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a54bc;
$custom-light: #8784d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a54bc",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 234.737,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49621,
    "c": 0.1618,
    "h": 274.7
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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