#4E62B7#4E62B7

#4E62B7 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.3% C 0.135 H 271.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4E62B7
RGBrgb(78, 98, 183)
HSLhsl(229, 42%, 51%)
HSVhsv(229, 57%, 72%)
CMYKcmyk(57.4%, 46.4%, 0%, 28.2%)
CIE-LABlab(43.91, 18.17, -47.44)
CIE-LCHlch(43.91, 50.80, 290.96°)
OKLaboklab(52.31% 0.0026 -0.1352)
OKLCHoklch(52.31% 0.135 271.1)
XYZxyz(16.0540, 13.7728, 46.6030)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62B7 #B7A34E
analogous
#4E96B7 #4E62B7 #6E4EB7
triadic
#4E62B7 #B74E62 #62B74E
tetradic
#4E62B7 #B74E96 #B7A34E #4EB76E
square
#4E62B7 #B74E96 #B7A34E #4EB76E
split-complementary
#4E62B7 #B76E4E #96B74E
monochromatic
#283363 #3A4A8E #4E62B7 #7A89C9 #A5AFDA

Accessibility & contrast

On white

5.59
#4E62B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4E62B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62B7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62B7#FFFFFF#000000##FFFFFF
##4E62B71.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBA
Deuteranopia (green-blind)
#2C63B5
Tritanopia (blue-blind)
#057583
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e62b7;
/* rgb */ color: rgb(78, 98, 183);
/* oklch */ color: oklch(52.3% 0.135 271.1);
Tailwind
colors: {
  custom: {
    50: '#888ecd',
    500: '#4e62b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e62b7;
$custom-light: #888ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62b7",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 183
  },
  "hsl": {
    "h": 228.571,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52313,
    "c": 0.13528,
    "h": 271.1
  },
  "luminance": 0.13774
}

Semantic roles & 50–950 ramp

primary
#4E62B7
secondary
#C8BF99
accent
#BA56D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E62B7

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

Preview Lab → · Contrast checker → · Palette generator →

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