#4862CA#4862CA

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

Color values

HEX#4862CA
RGBrgb(72, 98, 202)
HSLhsl(228, 55%, 54%)
HSVhsv(228, 64%, 79%)
CMYKcmyk(64.4%, 51.5%, 0%, 20.8%)
CIE-LABlab(44.77, 23.59, -57.08)
CIE-LCHlch(44.77, 61.76, 292.45°)
OKLaboklab(53.26% -0.0013 -0.1637)
OKLCHoklch(53.26% 0.164 269.5)
XYZxyz(17.6972, 14.3758, 57.7078)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4862CA #CAB048
analogous
#48A3CA #4862CA #6F48CA
triadic
#4862CA #CA4862 #62CA48
tetradic
#4862CA #CA48A3 #CAB048 #48CA6F
square
#4862CA #CA48A3 #CAB048 #48CA6F
split-complementary
#4862CA #CA6F48 #A3CA48
monochromatic
#223376 #3047A5 #4862CA #778BD8 #A7B3E5

Accessibility & contrast

On white

5.42
#4862CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4862CA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4862CA#FFFFFF#000000##FFFFFF
##4862CA1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4862ca;
/* rgb */ color: rgb(72, 98, 202);
/* oklch */ color: oklch(53.3% 0.164 269.5);
Tailwind
colors: {
  custom: {
    50: '#888edb',
    500: '#4862ca',
    950: '#000000',
  },
}
SCSS
$custom: #4862ca;
$custom-light: #888edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4862ca",
  "rgb": {
    "r": 72,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 228,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53263,
    "c": 0.16376,
    "h": 269.5
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4862CA

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

Preview Lab → · Contrast checker → · Palette generator →

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