#4862CD#4862CD

#4862CD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.168 H 269.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4862CD
RGBrgb(72, 98, 205)
HSLhsl(228, 57%, 54%)
HSVhsv(228, 65%, 80%)
CMYKcmyk(64.9%, 52.2%, 0%, 19.6%)
CIE-LABlab(44.97, 24.63, -58.48)
CIE-LCHlch(44.97, 63.46, 292.84°)
OKLaboklab(53.48% -0.001 -0.1679)
OKLCHoklch(53.48% 0.168 269.6)
XYZxyz(18.0559, 14.5192, 59.5967)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4862CD #CDB348
analogous
#48A5CD #4862CD #7148CD
triadic
#4862CD #CD4862 #62CD48
tetradic
#4862CD #CD48A5 #CDB348 #48CD71
square
#4862CD #CD48A5 #CDB348 #48CD71
split-complementary
#4862CD #CD7148 #A5CD48
monochromatic
#213279 #2E46A9 #4862CD #788BDA #A8B4E7

Accessibility & contrast

On white

5.38
#4862CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4862CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4862CD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4862CD#FFFFFF#000000##FFFFFF
##4862CD1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4862cd;
/* rgb */ color: rgb(72, 98, 205);
/* oklch */ color: oklch(53.5% 0.168 269.6);
Tailwind
colors: {
  custom: {
    50: '#898edd',
    500: '#4862cd',
    950: '#000000',
  },
}
SCSS
$custom: #4862cd;
$custom-light: #898edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4862cd",
  "rgb": {
    "r": 72,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 228.271,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5348,
    "c": 0.16787,
    "h": 269.6
  },
  "luminance": 0.14521
}

Semantic roles & 50–950 ramp

primary
#4862CD
secondary
#D5CA9C
accent
#C247E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4862CD

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

Preview Lab → · Contrast checker → · Palette generator →

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