#4C62DB#4C62DB

#4C62DB is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.7% C 0.186 H 271.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4C62DB
RGBrgb(76, 98, 219)
HSLhsl(231, 67%, 58%)
HSVhsv(231, 65%, 86%)
CMYKcmyk(65.3%, 55.3%, 0%, 14.1%)
CIE-LABlab(46.16, 30.12, -64.55)
CIE-LCHlch(46.16, 71.23, 295.02°)
OKLaboklab(54.74% 0.0038 -0.1856)
OKLCHoklch(54.74% 0.186 271.2)
XYZxyz(20.1300, 15.3845, 68.9128)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C62DB #DBC54C
analogous
#4CAADB #4C62DB #7D4CDB
triadic
#4C62DB #DB4C62 #62DB4C
tetradic
#4C62DB #DB4CAA #DBC54C #4CDB7D
square
#4C62DB #DB4CAA #DBC54C #4CDB7D
split-complementary
#4C62DB #DB7D4C #AADB4C
monochromatic
#1D2F90 #273FC3 #4C62DB #7F8FE5 #B2BBEF

Accessibility & contrast

On white

5.15
#4C62DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4C62DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C62DB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C62DB#FFFFFF#000000##FFFFFF
##4C62DB1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c62db;
/* rgb */ color: rgb(76, 98, 219);
/* oklch */ color: oklch(54.7% 0.186 271.2);
Tailwind
colors: {
  custom: {
    50: '#8d8ee7',
    500: '#4c62db',
    950: '#000000',
  },
}
SCSS
$custom: #4c62db;
$custom-light: #8d8ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c62db",
  "rgb": {
    "r": 76,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 230.769,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54739,
    "c": 0.18567,
    "h": 271.2
  },
  "luminance": 0.15386
}

Semantic roles & 50–950 ramp

primary
#4C62DB
secondary
#DED5A5
accent
#CF3EE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4C62DB

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

Preview Lab → · Contrast checker → · Palette generator →

#4C62DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva