#4A6AC7#4A6AC7

#4A6AC7 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.8% C 0.149 H 267.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4A6AC7
RGBrgb(74, 106, 199)
HSLhsl(225, 53%, 54%)
HSVhsv(225, 63%, 78%)
CMYKcmyk(62.8%, 46.7%, 0%, 22%)
CIE-LABlab(46.82, 17.84, -52.04)
CIE-LCHlch(46.82, 55.01, 288.92°)
OKLaboklab(54.79% -0.0075 -0.1488)
OKLCHoklch(54.79% 0.149 267.1)
XYZxyz(18.2833, 15.8858, 56.1245)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6AC7 #C7A74A
analogous
#4AA8C7 #4A6AC7 #684AC7
triadic
#4A6AC7 #C74A6A #6AC74A
tetradic
#4A6AC7 #C74AA8 #C7A74A #4AC768
square
#4A6AC7 #C74AA8 #C7A74A #4AC768
split-complementary
#4A6AC7 #C7684A #A8C74A
monochromatic
#243873 #324FA2 #4A6AC7 #7990D5 #A7B7E4

Accessibility & contrast

On white

5.03
#4A6AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4A6AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6AC7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6AC7#FFFFFF#000000##FFFFFF
##4A6AC71.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C75CA
Deuteranopia (green-blind)
#266AC5
Tritanopia (blue-blind)
#007F8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4a6ac7;
/* rgb */ color: rgb(74, 106, 199);
/* oklch */ color: oklch(54.8% 0.149 267.1);
Tailwind
colors: {
  custom: {
    50: '#8894d8',
    500: '#4a6ac7',
    950: '#000000',
  },
}
SCSS
$custom: #4a6ac7;
$custom-light: #8894d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6ac7",
  "rgb": {
    "r": 74,
    "g": 106,
    "b": 199
  },
  "hsl": {
    "h": 224.64,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54794,
    "c": 0.14896,
    "h": 267.1
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#4A6AC7
secondary
#D1C39C
accent
#B74CDC
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4A6AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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