#4762DB#4762DB

#4762DB is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.187 H 269.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4762DB
RGBrgb(71, 98, 219)
HSLhsl(229, 67%, 57%)
HSVhsv(229, 68%, 86%)
CMYKcmyk(67.6%, 55.3%, 0%, 14.1%)
CIE-LABlab(45.89, 29.37, -64.99)
CIE-LCHlch(45.89, 71.32, 294.32°)
OKLaboklab(54.47% -0.0011 -0.187)
OKLCHoklch(54.47% 0.187 269.7)
XYZxyz(19.7480, 15.1875, 68.8949)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4762DB #DBC047
analogous
#47ACDB #4762DB #7647DB
triadic
#4762DB #DB4762 #62DB47
tetradic
#4762DB #DB47AC #DBC047 #47DB76
square
#4762DB #DB47AC #DBC047 #47DB76
split-complementary
#4762DB #DB7647 #ACDB47
monochromatic
#1B308C #2542BF #4762DB #7A8EE5 #ADB9EF

Accessibility & contrast

On white

5.20
#4762DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4762DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4762DB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4762DB#FFFFFF#000000##FFFFFF
##4762DB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4762db;
/* rgb */ color: rgb(71, 98, 219);
/* oklch */ color: oklch(54.5% 0.187 269.7);
Tailwind
colors: {
  custom: {
    50: '#8b8ee7',
    500: '#4762db',
    950: '#000000',
  },
}
SCSS
$custom: #4762db;
$custom-light: #8b8ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4762db",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 229.054,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54468,
    "c": 0.18705,
    "h": 269.7
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#4762DB
secondary
#DDD2A1
accent
#CB3EEA
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4762DB

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

Preview Lab → · Contrast checker → · Palette generator →

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