#4862CB#4862CB

#4862CB is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.3% C 0.165 H 269.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4862CB
RGBrgb(72, 98, 203)
HSLhsl(228, 56%, 54%)
HSVhsv(228, 65%, 80%)
CMYKcmyk(64.5%, 51.7%, 0%, 20.4%)
CIE-LABlab(44.83, 23.93, -57.55)
CIE-LCHlch(44.83, 62.33, 292.58°)
OKLaboklab(53.34% -0.0012 -0.1651)
OKLCHoklch(53.34% 0.165 269.6)
XYZxyz(17.8160, 14.4233, 58.3334)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4862CB #CBB148
analogous
#48A4CB #4862CB #7048CB
triadic
#4862CB #CB4862 #62CB48
tetradic
#4862CB #CB48A4 #CBB148 #48CB70
square
#4862CB #CB48A4 #CBB148 #48CB70
split-complementary
#4862CB #CB7048 #A4CB48
monochromatic
#223377 #2F47A6 #4862CB #788BD9 #A7B4E6

Accessibility & contrast

On white

5.41
#4862CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4862CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4862CB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4862CB#FFFFFF#000000##FFFFFF
##4862CB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4862cb;
/* rgb */ color: rgb(72, 98, 203);
/* oklch */ color: oklch(53.3% 0.165 269.6);
Tailwind
colors: {
  custom: {
    50: '#888edb',
    500: '#4862cb',
    950: '#000000',
  },
}
SCSS
$custom: #4862cb;
$custom-light: #888edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4862cb",
  "rgb": {
    "r": 72,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 228.092,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.16512,
    "h": 269.6
  },
  "luminance": 0.14425
}

Semantic roles & 50–950 ramp

primary
#4862CB
secondary
#D3C89B
accent
#C149DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4862CB

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

Preview Lab → · Contrast checker → · Palette generator →

#4862CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva