#4A62E3#4A62E3

#4A62E3 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.2% C 0.197 H 270.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4A62E3
RGBrgb(74, 98, 227)
HSLhsl(231, 73%, 59%)
HSVhsv(231, 67%, 89%)
CMYKcmyk(67.4%, 56.8%, 0%, 11%)
CIE-LABlab(46.63, 32.58, -68.33)
CIE-LCHlch(46.63, 75.70, 295.50°)
OKLaboklab(55.24% 0.0021 -0.1968)
OKLCHoklch(55.24% 0.197 270.6)
XYZxyz(21.0521, 15.7353, 74.5859)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62E3 #E3CB4A
analogous
#4AAFE3 #4A62E3 #7F4AE3
triadic
#4A62E3 #E34A62 #62E34A
tetradic
#4A62E3 #E34AAF #E3CB4A #4AE37F
square
#4A62E3 #E34AAF #E3CB4A #4AE37F
split-complementary
#4A62E3 #E37F4A #AFE34A
monochromatic
#182C9B #203CD0 #4A62E3 #7F90EB #B4BEF3

Accessibility & contrast

On white

5.06
#4A62E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4A62E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62E3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62E3#FFFFFF#000000##FFFFFF
##4A62E31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4a62e3;
/* rgb */ color: rgb(74, 98, 227);
/* oklch */ color: oklch(55.2% 0.197 270.6);
Tailwind
colors: {
  custom: {
    50: '#8e8eed',
    500: '#4a62e3',
    950: '#000000',
  },
}
SCSS
$custom: #4a62e3;
$custom-light: #8e8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62e3",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 227
  },
  "hsl": {
    "h": 230.588,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55243,
    "c": 0.1968,
    "h": 270.6
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#4A62E3
secondary
#E2D9A6
accent
#D338F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4A62E3

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

Preview Lab → · Contrast checker → · Palette generator →

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