#4762EA#4762EA

#4762EA is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 55.6% C 0.207 H 269.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4762EA
RGBrgb(71, 98, 234)
HSLhsl(230, 80%, 60%)
HSVhsv(230, 70%, 92%)
CMYKcmyk(69.7%, 58.1%, 0%, 8.2%)
CIE-LABlab(46.99, 34.60, -71.69)
CIE-LCHlch(46.99, 79.60, 295.77°)
OKLaboklab(55.64% -0.0007 -0.2067)
OKLCHoklch(55.64% 0.207 269.8)
XYZxyz(21.8124, 16.0133, 79.7673)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4762EA #EACF47
analogous
#47B4EA #4762EA #7D47EA
triadic
#4762EA #EA4762 #62EA47
tetradic
#4762EA #EA47B4 #EACF47 #47EA7D
square
#4762EA #EA47B4 #EACF47 #47EA7D
split-complementary
#4762EA #EA7D47 #B4EA47
monochromatic
#132BA4 #1939DB #4762EA #7E91F0 #B5C0F7

Accessibility & contrast

On white

5.00
#4762EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4762EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4762EA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4762EA#FFFFFF#000000##FFFFFF
##4762EA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4762ea;
/* rgb */ color: rgb(71, 98, 234);
/* oklch */ color: oklch(55.6% 0.207 269.8);
Tailwind
colors: {
  custom: {
    50: '#8e8ef2',
    500: '#4762ea',
    950: '#000000',
  },
}
SCSS
$custom: #4762ea;
$custom-light: #8e8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#4762ea",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 230.061,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55638,
    "c": 0.20673,
    "h": 269.8
  },
  "luminance": 0.16015
}

Semantic roles & 50–950 ramp

primary
#4762EA
secondary
#E6DBA7
accent
#D532F6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4762EA

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

Preview Lab → · Contrast checker → · Palette generator →

#4762EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva