#4B54CF#4B54CF

#4B54CF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.187 H 274.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4B54CF
RGBrgb(75, 84, 207)
HSLhsl(236, 58%, 55%)
HSVhsv(236, 64%, 81%)
CMYKcmyk(63.8%, 59.4%, 0%, 18.8%)
CIE-LABlab(41.75, 34.60, -64.84)
CIE-LCHlch(41.75, 73.49, 298.08°)
OKLaboklab(51.17% 0.0146 -0.1866)
OKLCHoklch(51.17% 0.187 274.5)
XYZxyz(17.3307, 12.3400, 60.4879)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B54CF #CFC64B
analogous
#4B96CF #4B54CF #844BCF
triadic
#4B54CF #CF4B54 #54CF4B
tetradic
#4B54CF #CF4B96 #CFC64B #4BCF84
square
#4B54CF #CF4B96 #CFC64B #4BCF84
split-complementary
#4B54CF #CF844B #96CF4B
monochromatic
#22287E #2E37AE #4B54CF #7B82DC #ACB0E9

Accessibility & contrast

On white

6.06
#4B54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4B54CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B54CF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B54CF#FFFFFF#000000##FFFFFF
##4B54CF1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4b54cf;
/* rgb */ color: rgb(75, 84, 207);
/* oklch */ color: oklch(51.2% 0.187 274.5);
Tailwind
colors: {
  custom: {
    50: '#8b84df',
    500: '#4b54cf',
    950: '#000000',
  },
}
SCSS
$custom: #4b54cf;
$custom-light: #8b84df;
$custom-dark: #000000;
JSON
{
  "hex": "#4b54cf",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 235.909,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51166,
    "c": 0.18722,
    "h": 274.5
  },
  "luminance": 0.12341
}

Semantic roles & 50–950 ramp

primary
#4B54CF
secondary
#D6D39F
accent
#D747E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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