#4A6CD7#4A6CD7

#4A6CD7 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.3% C 0.169 H 267.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4A6CD7
RGBrgb(74, 108, 215)
HSLhsl(226, 64%, 57%)
HSVhsv(226, 66%, 84%)
CMYKcmyk(65.6%, 49.8%, 0%, 15.7%)
CIE-LABlab(48.37, 22.15, -58.71)
CIE-LCHlch(48.37, 62.75, 290.67°)
OKLaboklab(56.29% -0.0074 -0.1683)
OKLCHoklch(56.29% 0.169 267.5)
XYZxyz(20.4481, 17.0854, 66.4970)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6CD7 #D7B54A
analogous
#4AB3D7 #4A6CD7 #6F4AD7
triadic
#4A6CD7 #D74A6C #6CD74A
tetradic
#4A6CD7 #D74AB3 #D7B54A #4AD76F
square
#4A6CD7 #D74AB3 #D7B54A #4AD76F
split-complementary
#4A6CD7 #D76F4A #B3D74A
monochromatic
#1E3888 #294CBB #4A6CD7 #7C95E2 #AEBDED

Accessibility & contrast

On white

4.75
#4A6CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4A6CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6CD7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6CD7#FFFFFF#000000##FFFFFF
##4A6CD71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#307ADB
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a6cd7;
/* rgb */ color: rgb(74, 108, 215);
/* oklch */ color: oklch(56.3% 0.169 267.5);
Tailwind
colors: {
  custom: {
    50: '#8b95e4',
    500: '#4a6cd7',
    950: '#000000',
  },
}
SCSS
$custom: #4a6cd7;
$custom-light: #8b95e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6cd7",
  "rgb": {
    "r": 74,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 225.532,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.16851,
    "h": 267.5
  },
  "luminance": 0.17087
}

Semantic roles & 50–950 ramp

primary
#4A6CD7
secondary
#DBCDA2
accent
#BF41E7
background
#F9F9FE
surface
#F1F1FC
border
#CBCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4A6CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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