#4A62DB#4A62DB

#4A62DB is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.186 H 270.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4A62DB
RGBrgb(74, 98, 219)
HSLhsl(230, 67%, 57%)
HSVhsv(230, 66%, 86%)
CMYKcmyk(66.2%, 55.3%, 0%, 14.1%)
CIE-LABlab(46.05, 29.82, -64.73)
CIE-LCHlch(46.05, 71.27, 294.73°)
OKLaboklab(54.63% 0.0018 -0.1862)
OKLCHoklch(54.63% 0.186 270.6)
XYZxyz(19.9736, 15.3038, 68.9054)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62DB #DBC34A
analogous
#4AAADB #4A62DB #7B4ADB
triadic
#4A62DB #DB4A62 #62DB4A
tetradic
#4A62DB #DB4AAA #DBC34A #4ADB7B
square
#4A62DB #DB4AAA #DBC34A #4ADB7B
split-complementary
#4A62DB #DB7B4A #AADB4A
monochromatic
#1C2F8E #2640C1 #4A62DB #7D8EE5 #B0BBEF

Accessibility & contrast

On white

5.17
#4A62DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4A62DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62DB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62DB#FFFFFF#000000##FFFFFF
##4A62DB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.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: #4a62db;
/* rgb */ color: rgb(74, 98, 219);
/* oklch */ color: oklch(54.6% 0.186 270.6);
Tailwind
colors: {
  custom: {
    50: '#8c8ee7',
    500: '#4a62db',
    950: '#000000',
  },
}
SCSS
$custom: #4a62db;
$custom-light: #8c8ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62db",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 230.069,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.18622,
    "h": 270.6
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#4A62DB
secondary
#DED4A3
accent
#CD3EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4A62DB

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

Preview Lab → · Contrast checker → · Palette generator →

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