#4762DD#4762DD

#4762DD is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.190 H 269.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4762DD
RGBrgb(71, 98, 221)
HSLhsl(229, 69%, 57%)
HSVhsv(229, 68%, 87%)
CMYKcmyk(67.9%, 55.7%, 0%, 13.3%)
CIE-LABlab(46.03, 30.07, -65.90)
CIE-LCHlch(46.03, 72.44, 294.53°)
OKLaboklab(54.62% -0.001 -0.1897)
OKLCHoklch(54.62% 0.19 269.7)
XYZxyz(20.0129, 15.2935, 70.2898)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4762DD #DDC247
analogous
#47ADDD #4762DD #7747DD
triadic
#4762DD #DD4762 #62DD47
tetradic
#4762DD #DD47AD #DDC247 #47DD77
square
#4762DD #DD47AD #DDC247 #47DD77
split-complementary
#4762DD #DD7747 #ADDD47
monochromatic
#1A2F8F #2441C3 #4762DD #7B8EE7 #AEBAF0

Accessibility & contrast

On white

5.17
#4762DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4762DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4762DD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4762DD#FFFFFF#000000##FFFFFF
##4762DD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4762dd;
/* rgb */ color: rgb(71, 98, 221);
/* oklch */ color: oklch(54.6% 0.190 269.7);
Tailwind
colors: {
  custom: {
    50: '#8b8ee8',
    500: '#4762dd',
    950: '#000000',
  },
}
SCSS
$custom: #4762dd;
$custom-light: #8b8ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4762dd",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 229.2,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54621,
    "c": 0.1897,
    "h": 269.7
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#4762DD
secondary
#DED3A2
accent
#CC3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4762DD

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

Preview Lab → · Contrast checker → · Palette generator →

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