#4762D9#4762D9

#4762D9 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.184 H 269.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4762D9
RGBrgb(71, 98, 217)
HSLhsl(229, 66%, 56%)
HSVhsv(229, 67%, 85%)
CMYKcmyk(67.3%, 54.8%, 0%, 14.9%)
CIE-LABlab(45.75, 28.67, -64.09)
CIE-LCHlch(45.75, 70.21, 294.10°)
OKLaboklab(54.32% -0.0012 -0.1844)
OKLCHoklch(54.32% 0.184 269.6)
XYZxyz(19.4863, 15.0829, 67.5165)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4762D9 #D9BE47
analogous
#47ABD9 #4762D9 #7547D9
triadic
#4762D9 #D94762 #62D947
tetradic
#4762D9 #D947AB #D9BE47 #47D975
square
#4762D9 #D947AB #D9BE47 #47D975
split-complementary
#4762D9 #D97547 #ABD947
monochromatic
#1C3089 #2742BC #4762D9 #7A8DE3 #ACB9EE

Accessibility & contrast

On white

5.23
#4762D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4762D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4762D9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4762D9#FFFFFF#000000##FFFFFF
##4762D91.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4762d9;
/* rgb */ color: rgb(71, 98, 217);
/* oklch */ color: oklch(54.3% 0.184 269.6);
Tailwind
colors: {
  custom: {
    50: '#8a8ee6',
    500: '#4762d9',
    950: '#000000',
  },
}
SCSS
$custom: #4762d9;
$custom-light: #8a8ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#4762d9",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 217
  },
  "hsl": {
    "h": 228.904,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54316,
    "c": 0.18438,
    "h": 269.6
  },
  "luminance": 0.15085
}

Semantic roles & 50–950 ramp

primary
#4762D9
secondary
#DCD1A0
accent
#C93FE9
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4762D9

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

Preview Lab → · Contrast checker → · Palette generator →

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