#4A6FAC#4A6FAC

#4A6FAC is a mid, moderate blue. Relative luminance 0.158; OKLCH L 54.2% C 0.105 H 260.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4A6FAC
RGBrgb(74, 111, 172)
HSLhsl(217, 40%, 48%)
HSVhsv(217, 57%, 67%)
CMYKcmyk(57%, 35.5%, 0%, 32.5%)
CIE-LABlab(46.71, 5.49, -36.57)
CIE-LCHlch(46.71, 36.98, 278.53°)
OKLaboklab(54.22% -0.0183 -0.1034)
OKLCHoklch(54.22% 0.105 260)
XYZxyz(15.9523, 15.8020, 41.2312)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6FAC #AC874A
analogous
#4AA0AC #4A6FAC #564AAC
triadic
#4A6FAC #AC4A6F #6FAC4A
tetradic
#4A6FAC #AC4AA0 #AC874A #4AAC56
square
#4A6FAC #AC4AA0 #AC874A #4AAC56
split-complementary
#4A6FAC #AC564A #A0AC4A
monochromatic
#253856 #385381 #4A6FAC #7190C2 #9CB1D4

Accessibility & contrast

On white

5.05
#4A6FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4A6FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6FAC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6FAC#FFFFFF#000000##FFFFFF
##4A6FAC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5674AF
Deuteranopia (green-blind)
#4A6BAB
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4a6fac;
/* rgb */ color: rgb(74, 111, 172);
/* oklch */ color: oklch(54.2% 0.105 260.0);
Tailwind
colors: {
  custom: {
    50: '#8498c5',
    500: '#4a6fac',
    950: '#000000',
  },
}
SCSS
$custom: #4a6fac;
$custom-light: #8498c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6fac",
  "rgb": {
    "r": 74,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 217.347,
    "s": 39.837,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.10498,
    "h": 260
  },
  "luminance": 0.15803
}

Semantic roles & 50–950 ramp

primary
#4A6FAC
secondary
#C1AF91
accent
#A358D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #4A6FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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