#4854BF#4854BF

#4854BF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.166 H 273.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4854BF
RGBrgb(72, 84, 191)
HSLhsl(234, 48%, 52%)
HSVhsv(234, 62%, 75%)
CMYKcmyk(62.3%, 56%, 0%, 25.1%)
CIE-LABlab(40.38, 28.66, -57.81)
CIE-LCHlch(40.38, 64.52, 296.37°)
OKLaboklab(49.72% 0.0112 -0.1661)
OKLCHoklch(49.72% 0.166 273.9)
XYZxyz(15.2437, 11.4787, 50.6924)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854BF #BFB348
analogous
#488FBF #4854BF #7848BF
triadic
#4854BF #BF4854 #54BF48
tetradic
#4854BF #BF488F #BFB348 #48BF78
square
#4854BF #BF488F #BFB348 #48BF78
split-complementary
#4854BF #BF7848 #8FBF48
monochromatic
#242B68 #343E96 #4854BF #757ECF #A3A9DF

Accessibility & contrast

On white

6.37
#4854BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4854BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854BF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854BF#FFFFFF#000000##FFFFFF
##4854BF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4854bf;
/* rgb */ color: rgb(72, 84, 191);
/* oklch */ color: oklch(49.7% 0.166 273.9);
Tailwind
colors: {
  custom: {
    50: '#8784d3',
    500: '#4854bf',
    950: '#000000',
  },
}
SCSS
$custom: #4854bf;
$custom-light: #8784d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4854bf",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 233.95,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.4972,
    "c": 0.16644,
    "h": 273.9
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#4854BF
secondary
#CCC697
accent
#CA50D8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4854BF

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

Preview Lab → · Contrast checker → · Palette generator →

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