#4A62DF#4A62DF

#4A62DF is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.9% C 0.192 H 270.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4A62DF
RGBrgb(74, 98, 223)
HSLhsl(230, 70%, 58%)
HSVhsv(230, 67%, 87%)
CMYKcmyk(66.8%, 56.1%, 0%, 12.5%)
CIE-LABlab(46.33, 31.20, -66.54)
CIE-LCHlch(46.33, 73.49, 295.12°)
OKLaboklab(54.93% 0.0019 -0.1915)
OKLCHoklch(54.93% 0.192 270.6)
XYZxyz(20.5065, 15.5170, 71.7121)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62DF #DFC74A
analogous
#4AACDF #4A62DF #7D4ADF
triadic
#4A62DF #DF4A62 #62DF4A
tetradic
#4A62DF #DF4AAC #DFC74A #4ADF7D
square
#4A62DF #DF4AAC #DFC74A #4ADF7D
split-complementary
#4A62DF #DF7D4A #ACDF4A
monochromatic
#1A2E94 #233EC8 #4A62DF #7E8FE8 #B2BCF1

Accessibility & contrast

On white

5.12
#4A62DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4A62DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62DF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62DF#FFFFFF#000000##FFFFFF
##4A62DF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4a62df;
/* rgb */ color: rgb(74, 98, 223);
/* oklch */ color: oklch(54.9% 0.192 270.6);
Tailwind
colors: {
  custom: {
    50: '#8d8eea',
    500: '#4a62df',
    950: '#000000',
  },
}
SCSS
$custom: #4a62df;
$custom-light: #8d8eea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62df",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 230.336,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.19153,
    "h": 270.6
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#4A62DF
secondary
#E0D7A5
accent
#D03BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4A62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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