#4854BD#4854BD

#4854BD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.6% C 0.164 H 273.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4854BD
RGBrgb(72, 84, 189)
HSLhsl(234, 47%, 51%)
HSVhsv(234, 62%, 74%)
CMYKcmyk(61.9%, 55.6%, 0%, 25.9%)
CIE-LABlab(40.23, 27.97, -56.88)
CIE-LCHlch(40.23, 63.38, 296.19°)
OKLaboklab(49.57% 0.0111 -0.1633)
OKLCHoklch(49.57% 0.164 273.9)
XYZxyz(15.0251, 11.3913, 49.5412)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854BD #BDB148
analogous
#488EBD #4854BD #7648BD
triadic
#4854BD #BD4854 #54BD48
tetradic
#4854BD #BD488E #BDB148 #48BD76
square
#4854BD #BD488E #BDB148 #48BD76
split-complementary
#4854BD #BD7648 #8EBD48
monochromatic
#252B66 #353F93 #4854BD #757ECD #A2A8DD

Accessibility & contrast

On white

6.41
#4854BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4854BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854BD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854BD#FFFFFF#000000##FFFFFF
##4854BD1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4854bd;
/* rgb */ color: rgb(72, 84, 189);
/* oklch */ color: oklch(49.6% 0.164 273.9);
Tailwind
colors: {
  custom: {
    50: '#8784d2',
    500: '#4854bd',
    950: '#000000',
  },
}
SCSS
$custom: #4854bd;
$custom-light: #8784d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4854bd",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 233.846,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49567,
    "c": 0.16369,
    "h": 273.9
  },
  "luminance": 0.11392
}

Semantic roles & 50–950 ramp

primary
#4854BD
secondary
#CAC597
accent
#C951D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4854BD

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

Preview Lab → · Contrast checker → · Palette generator →

#4854BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva