#4858DB#4858DB

#4858DB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.199 H 272.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4858DB
RGBrgb(72, 88, 219)
HSLhsl(233, 67%, 57%)
HSVhsv(233, 67%, 86%)
CMYKcmyk(67.1%, 59.8%, 0%, 14.1%)
CIE-LABlab(43.46, 35.76, -68.94)
CIE-LCHlch(43.46, 77.66, 297.42°)
OKLaboklab(52.67% 0.0079 -0.1987)
OKLCHoklch(52.67% 0.199 272.3)
XYZxyz(18.9441, 13.4699, 68.6057)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858DB #DBCB48
analogous
#48A2DB #4858DB #8148DB
triadic
#4858DB #DB4858 #58DB48
tetradic
#4858DB #DB48A2 #DBCB48 #48DB81
square
#4858DB #DB48A2 #DBCB48 #48DB81
split-complementary
#4858DB #DB8148 #A2DB48
monochromatic
#1C288D #2637C0 #4858DB #7B87E5 #AEB5EF

Accessibility & contrast

On white

5.68
#4858DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4858DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858DB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858DB#FFFFFF#000000##FFFFFF
##4858DB1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4858db;
/* rgb */ color: rgb(72, 88, 219);
/* oklch */ color: oklch(52.7% 0.199 272.3);
Tailwind
colors: {
  custom: {
    50: '#8c87e7',
    500: '#4858db',
    950: '#000000',
  },
}
SCSS
$custom: #4858db;
$custom-light: #8c87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4858db",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 233.469,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52674,
    "c": 0.19889,
    "h": 272.3
  },
  "luminance": 0.13472
}

Semantic roles & 50–950 ramp

primary
#4858DB
secondary
#DDD7A2
accent
#D73EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4858DB

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

Preview Lab → · Contrast checker → · Palette generator →

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