#4A5FDB#4A5FDB

#4A5FDB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.190 H 271.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4A5FDB
RGBrgb(74, 95, 219)
HSLhsl(231, 67%, 57%)
HSVhsv(231, 66%, 86%)
CMYKcmyk(66.2%, 56.6%, 0%, 14.1%)
CIE-LABlab(45.29, 31.69, -65.95)
CIE-LCHlch(45.29, 73.17, 295.67°)
OKLaboklab(54.07% 0.0043 -0.1898)
OKLCHoklch(54.07% 0.19 271.3)
XYZxyz(19.6981, 14.7529, 68.8136)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FDB #DBC64A
analogous
#4AA8DB #4A5FDB #7D4ADB
triadic
#4A5FDB #DB4A5F #5FDB4A
tetradic
#4A5FDB #DB4AA8 #DBC64A #4ADB7D
square
#4A5FDB #DB4AA8 #DBC64A #4ADB7D
split-complementary
#4A5FDB #DB7D4A #A8DB4A
monochromatic
#1C2D8E #263DC1 #4A5FDB #7D8CE5 #B0B9EF

Accessibility & contrast

On white

5.32
#4A5FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4A5FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FDB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FDB#FFFFFF#000000##FFFFFF
##4A5FDB1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4a5fdb;
/* rgb */ color: rgb(74, 95, 219);
/* oklch */ color: oklch(54.1% 0.190 271.3);
Tailwind
colors: {
  custom: {
    50: '#8c8ce7',
    500: '#4a5fdb',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fdb;
$custom-light: #8c8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fdb",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 231.31,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.18989,
    "h": 271.3
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#4A5FDB
secondary
#DED5A3
accent
#D13EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4A5FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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