#4858CD#4858CD

#4858CD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.180 H 272.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4858CD
RGBrgb(72, 88, 205)
HSLhsl(233, 57%, 54%)
HSVhsv(233, 65%, 80%)
CMYKcmyk(64.9%, 57.1%, 0%, 19.6%)
CIE-LABlab(42.40, 30.95, -62.63)
CIE-LCHlch(42.40, 69.86, 296.29°)
OKLaboklab(51.56% 0.0079 -0.1802)
OKLCHoklch(51.56% 0.18 272.5)
XYZxyz(17.1780, 12.7634, 59.3041)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858CD #CDBD48
analogous
#489BCD #4858CD #7B48CD
triadic
#4858CD #CD4858 #58CD48
tetradic
#4858CD #CD489B #CDBD48 #48CD7B
square
#4858CD #CD489B #CDBD48 #48CD7B
split-complementary
#4858CD #CD7B48 #9BCD48
monochromatic
#212C79 #2E3DA9 #4858CD #7884DA #A8B0E7

Accessibility & contrast

On white

5.91
#4858CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4858CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858CD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858CD#FFFFFF#000000##FFFFFF
##4858CD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4858cd;
/* rgb */ color: rgb(72, 88, 205);
/* oklch */ color: oklch(51.6% 0.180 272.5);
Tailwind
colors: {
  custom: {
    50: '#8987dd',
    500: '#4858cd',
    950: '#000000',
  },
}
SCSS
$custom: #4858cd;
$custom-light: #8987dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4858cd",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 232.782,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51556,
    "c": 0.18037,
    "h": 272.5
  },
  "luminance": 0.12765
}

Semantic roles & 50–950 ramp

primary
#4858CD
secondary
#D5CE9C
accent
#CE47E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4858CD

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

Preview Lab → · Contrast checker → · Palette generator →

#4858CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva