#4E62AC#4E62AC

#4E62AC is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.6% C 0.119 H 270.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4E62AC
RGBrgb(78, 98, 172)
HSLhsl(227, 38%, 49%)
HSVhsv(227, 55%, 67%)
CMYKcmyk(54.7%, 43%, 0%, 32.5%)
CIE-LABlab(43.26, 14.49, -42.02)
CIE-LCHlch(43.26, 44.45, 289.02°)
OKLaboklab(51.61% 0.0008 -0.1194)
OKLCHoklch(51.61% 0.119 270.4)
XYZxyz(14.9535, 13.3326, 40.8072)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62AC #AC984E
analogous
#4E91AC #4E62AC #694EAC
triadic
#4E62AC #AC4E62 #62AC4E
tetradic
#4E62AC #AC4E91 #AC984E #4EAC69
square
#4E62AC #AC4E91 #AC984E #4EAC69
split-complementary
#4E62AC #AC694E #91AC4E
monochromatic
#283258 #3B4A82 #4E62AC #7686C1 #A0ABD4

Accessibility & contrast

On white

5.73
#4E62AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4E62AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62AC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62AC#FFFFFF#000000##FFFFFF
##4E62AC1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436BAF
Deuteranopia (green-blind)
#3862AA
Tritanopia (blue-blind)
#1D727E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e62ac;
/* rgb */ color: rgb(78, 98, 172);
/* oklch */ color: oklch(51.6% 0.119 270.4);
Tailwind
colors: {
  custom: {
    50: '#868ec5',
    500: '#4e62ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e62ac;
$custom-light: #868ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62ac",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 172
  },
  "hsl": {
    "h": 227.234,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51611,
    "c": 0.11936,
    "h": 270.4
  },
  "luminance": 0.13334
}

Semantic roles & 50–950 ramp

primary
#4E62AC
secondary
#C1B895
accent
#B55ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E62AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4E62AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva