#4854AF#4854AF

#4854AF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.144 H 274.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4854AF
RGBrgb(72, 84, 175)
HSLhsl(233, 42%, 48%)
HSVhsv(233, 59%, 69%)
CMYKcmyk(58.9%, 52%, 0%, 31.4%)
CIE-LABlab(39.26, 23.18, -50.22)
CIE-LCHlch(39.26, 55.31, 294.78°)
OKLaboklab(48.53% 0.0103 -0.1437)
OKLCHoklch(48.53% 0.144 274.1)
XYZxyz(13.5781, 10.8125, 41.9206)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854AF #AFA348
analogous
#4887AF #4854AF #6F48AF
triadic
#4854AF #AF4854 #54AF48
tetradic
#4854AF #AF4887 #AFA348 #48AF6F
square
#4854AF #AF4887 #AFA348 #48AF6F
split-complementary
#4854AF #AF6F48 #87AF48
monochromatic
#242A58 #363F84 #4854AF #707AC4 #9BA2D6

Accessibility & contrast

On white

6.64
#4854AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4854AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854AF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854AF#FFFFFF#000000##FFFFFF
##4854AF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#0858AD
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4854af;
/* rgb */ color: rgb(72, 84, 175);
/* oklch */ color: oklch(48.5% 0.144 274.1);
Tailwind
colors: {
  custom: {
    50: '#8483c7',
    500: '#4854af',
    950: '#000000',
  },
}
SCSS
$custom: #4854af;
$custom-light: #8483c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4854af",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 233.01,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48532,
    "c": 0.14408,
    "h": 274.1
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#4854AF
secondary
#C2BD90
accent
#C356D2
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4854AF

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

Preview Lab → · Contrast checker → · Palette generator →

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