#4762CA#4762CA

#4762CA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.2% C 0.164 H 269.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4762CA
RGBrgb(71, 98, 202)
HSLhsl(228, 55%, 54%)
HSVhsv(228, 65%, 79%)
CMYKcmyk(64.9%, 51.5%, 0%, 20.8%)
CIE-LABlab(44.71, 23.42, -57.17)
CIE-LCHlch(44.71, 61.78, 292.28°)
OKLaboklab(53.21% -0.0023 -0.164)
OKLCHoklch(53.21% 0.164 269.2)
XYZxyz(17.6233, 14.3376, 57.7044)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4762CA #CAAF47
analogous
#47A3CA #4762CA #6D47CA
triadic
#4762CA #CA4762 #62CA47
tetradic
#4762CA #CA47A3 #CAAF47 #47CA6D
square
#4762CA #CA47A3 #CAAF47 #47CA6D
split-complementary
#4762CA #CA6D47 #A3CA47
monochromatic
#223375 #2F47A4 #4762CA #778BD8 #A6B3E5

Accessibility & contrast

On white

5.43
#4762CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4762CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4762CA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4762CA#FFFFFF#000000##FFFFFF
##4762CA1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2370CE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4762ca;
/* rgb */ color: rgb(71, 98, 202);
/* oklch */ color: oklch(53.2% 0.164 269.2);
Tailwind
colors: {
  custom: {
    50: '#888edb',
    500: '#4762ca',
    950: '#000000',
  },
}
SCSS
$custom: #4762ca;
$custom-light: #888edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4762ca",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 227.634,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53208,
    "c": 0.16405,
    "h": 269.2
  },
  "luminance": 0.14339
}

Semantic roles & 50–950 ramp

primary
#4762CA
secondary
#D2C79A
accent
#C049DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4762CA

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

Preview Lab → · Contrast checker → · Palette generator →

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