#4762CF#4762CF

#4762CF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.6% C 0.171 H 269.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4762CF
RGBrgb(71, 98, 207)
HSLhsl(228, 59%, 55%)
HSVhsv(228, 66%, 81%)
CMYKcmyk(65.7%, 52.7%, 0%, 18.8%)
CIE-LABlab(45.05, 25.17, -59.50)
CIE-LCHlch(45.05, 64.60, 292.93°)
OKLaboklab(53.57% -0.0018 -0.1709)
OKLCHoklch(53.57% 0.171 269.4)
XYZxyz(18.2249, 14.5783, 60.8728)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4762CF #CFB447
analogous
#47A6CF #4762CF #7047CF
triadic
#4762CF #CF4762 #62CF47
tetradic
#4762CF #CF47A6 #CFB447 #47CF70
square
#4762CF #CF47A6 #CFB447 #47CF70
split-complementary
#4762CF #CF7047 #A6CF47
monochromatic
#20327B #2D46AC #4762CF #788BDC #A8B5E8

Accessibility & contrast

On white

5.36
#4762CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4762CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4762CF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4762CF#FFFFFF#000000##FFFFFF
##4762CF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A71D3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4762cf;
/* rgb */ color: rgb(71, 98, 207);
/* oklch */ color: oklch(53.6% 0.171 269.4);
Tailwind
colors: {
  custom: {
    50: '#898ede',
    500: '#4762cf',
    950: '#000000',
  },
}
SCSS
$custom: #4762cf;
$custom-light: #898ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4762cf",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 228.088,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.17089,
    "h": 269.4
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#4762CF
secondary
#D6CA9C
accent
#C346E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4762CF

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

Preview Lab → · Contrast checker → · Palette generator →

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