#4862BC#4862BC

#4862BC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.3% C 0.144 H 268.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4862BC
RGBrgb(72, 98, 188)
HSLhsl(227, 46%, 51%)
HSVhsv(227, 62%, 74%)
CMYKcmyk(61.7%, 47.9%, 0%, 26.3%)
CIE-LABlab(43.86, 18.71, -50.44)
CIE-LCHlch(43.86, 53.80, 290.35°)
OKLaboklab(52.29% -0.0028 -0.1442)
OKLCHoklch(52.29% 0.144 268.9)
XYZxyz(16.1142, 13.7426, 49.3706)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4862BC #BCA248
analogous
#489CBC #4862BC #6848BC
triadic
#4862BC #BC4862 #62BC48
tetradic
#4862BC #BC489C #BCA248 #48BC68
square
#4862BC #BC489C #BCA248 #48BC68
split-complementary
#4862BC #BC6848 #9CBC48
monochromatic
#253365 #354A92 #4862BC #7588CC #A2AFDD

Accessibility & contrast

On white

5.60
#4862BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4862BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4862BC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4862BC#FFFFFF#000000##FFFFFF
##4862BC1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBF
Deuteranopia (green-blind)
#2063BA
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4862bc;
/* rgb */ color: rgb(72, 98, 188);
/* oklch */ color: oklch(52.3% 0.144 268.9);
Tailwind
colors: {
  custom: {
    50: '#868ed1',
    500: '#4862bc',
    950: '#000000',
  },
}
SCSS
$custom: #4862bc;
$custom-light: #868ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4862bc",
  "rgb": {
    "r": 72,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 226.552,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52286,
    "c": 0.14424,
    "h": 268.9
  },
  "luminance": 0.13744
}

Semantic roles & 50–950 ramp

primary
#4862BC
secondary
#CABE96
accent
#B852D6
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4862BC

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

Preview Lab → · Contrast checker → · Palette generator →

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