#4854BC#4854BC

#4854BC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.5% C 0.162 H 273.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4854BC
RGBrgb(72, 84, 188)
HSLhsl(234, 46%, 51%)
HSVhsv(234, 62%, 74%)
CMYKcmyk(61.7%, 55.3%, 0%, 26.3%)
CIE-LABlab(40.16, 27.63, -56.41)
CIE-LCHlch(40.16, 62.81, 296.10°)
OKLaboklab(49.49% 0.0111 -0.1619)
OKLCHoklch(49.49% 0.162 273.9)
XYZxyz(14.9169, 11.3480, 48.9715)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854BC #BCB048
analogous
#488EBC #4854BC #7648BC
triadic
#4854BC #BC4854 #54BC48
tetradic
#4854BC #BC488E #BCB048 #48BC76
square
#4854BC #BC488E #BCB048 #48BC76
split-complementary
#4854BC #BC7648 #8EBC48
monochromatic
#252B65 #353F92 #4854BC #757ECC #A2A8DD

Accessibility & contrast

On white

6.42
#4854BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4854BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854BC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854BC#FFFFFF#000000##FFFFFF
##4854BC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4854bc;
/* rgb */ color: rgb(72, 84, 188);
/* oklch */ color: oklch(49.5% 0.162 273.9);
Tailwind
colors: {
  custom: {
    50: '#8684d1',
    500: '#4854bc',
    950: '#000000',
  },
}
SCSS
$custom: #4854bc;
$custom-light: #8684d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4854bc",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 233.793,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49492,
    "c": 0.16231,
    "h": 273.9
  },
  "luminance": 0.11349
}

Semantic roles & 50–950 ramp

primary
#4854BC
secondary
#CAC496
accent
#C852D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4854BC

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

Preview Lab → · Contrast checker → · Palette generator →

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