#4E62B8#4E62B8

#4E62B8 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.4% C 0.137 H 271.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4E62B8
RGBrgb(78, 98, 184)
HSLhsl(229, 43%, 51%)
HSVhsv(229, 58%, 72%)
CMYKcmyk(57.6%, 46.7%, 0%, 27.8%)
CIE-LABlab(43.97, 18.51, -47.93)
CIE-LCHlch(43.97, 51.38, 291.12°)
OKLaboklab(52.38% 0.0028 -0.1367)
OKLCHoklch(52.38% 0.137 271.2)
XYZxyz(16.1584, 13.8145, 47.1531)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62B8 #B8A44E
analogous
#4E97B8 #4E62B8 #6F4EB8
triadic
#4E62B8 #B84E62 #62B84E
tetradic
#4E62B8 #B84E97 #B8A44E #4EB86F
square
#4E62B8 #B84E97 #B8A44E #4EB86F
split-complementary
#4E62B8 #B86F4E #97B84E
monochromatic
#283364 #394A8F #4E62B8 #7A89CA #A5AFDB

Accessibility & contrast

On white

5.58
#4E62B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4E62B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62B8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62B8#FFFFFF#000000##FFFFFF
##4E62B81.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6DBB
Deuteranopia (green-blind)
#2B64B6
Tritanopia (blue-blind)
#027584
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e62b8;
/* rgb */ color: rgb(78, 98, 184);
/* oklch */ color: oklch(52.4% 0.137 271.2);
Tailwind
colors: {
  custom: {
    50: '#888ece',
    500: '#4e62b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e62b8;
$custom-light: #888ece;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62b8",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 184
  },
  "hsl": {
    "h": 228.679,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.13671,
    "h": 271.2
  },
  "luminance": 0.13816
}

Semantic roles & 50–950 ramp

primary
#4E62B8
secondary
#C8BF9A
accent
#BB55D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E62B8

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

Preview Lab → · Contrast checker → · Palette generator →

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