#4A6FCC#4A6FCC

#4A6FCC is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.2% C 0.150 H 265.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4A6FCC
RGBrgb(74, 111, 204)
HSLhsl(223, 56%, 55%)
HSVhsv(223, 64%, 80%)
CMYKcmyk(63.7%, 45.6%, 0%, 20%)
CIE-LABlab(48.49, 16.44, -52.24)
CIE-LCHlch(48.49, 54.77, 287.47°)
OKLaboklab(56.17% -0.0117 -0.1493)
OKLCHoklch(56.17% 0.15 265.5)
XYZxyz(19.4038, 17.1826, 59.4090)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6FCC #CCA74A
analogous
#4AB0CC #4A6FCC #664ACC
triadic
#4A6FCC #CC4A6F #6FCC4A
tetradic
#4A6FCC #CC4AB0 #CCA74A #4ACC66
square
#4A6FCC #CC4AB0 #CCA74A #4ACC66
split-complementary
#4A6FCC #CC664A #B0CC4A
monochromatic
#223B79 #3052A9 #4A6FCC #7A95D9 #A9BBE7

Accessibility & contrast

On white

4.73
#4A6FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4A6FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6FCC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6FCC#FFFFFF#000000##FFFFFF
##4A6FCC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4279CF
Deuteranopia (green-blind)
#2B6ECA
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a6fcc;
/* rgb */ color: rgb(74, 111, 204);
/* oklch */ color: oklch(56.2% 0.150 265.5);
Tailwind
colors: {
  custom: {
    50: '#8997dc',
    500: '#4a6fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4a6fcc;
$custom-light: #8997dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6fcc",
  "rgb": {
    "r": 74,
    "g": 111,
    "b": 204
  },
  "hsl": {
    "h": 222.923,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56166,
    "c": 0.14974,
    "h": 265.5
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

primary
#4A6FCC
secondary
#D4C59D
accent
#B448DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4A6FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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