#4A6FCB#4A6FCB

#4A6FCB is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.1% C 0.148 H 265.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4A6FCB
RGBrgb(74, 111, 203)
HSLhsl(223, 55%, 54%)
HSVhsv(223, 64%, 80%)
CMYKcmyk(63.5%, 45.3%, 0%, 20.4%)
CIE-LABlab(48.43, 16.09, -51.76)
CIE-LCHlch(48.43, 54.21, 287.27°)
OKLaboklab(56.1% -0.0118 -0.1479)
OKLCHoklch(56.1% 0.148 265.4)
XYZxyz(19.2842, 17.1348, 58.7794)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6FCB #CBA64A
analogous
#4AAFCB #4A6FCB #664ACB
triadic
#4A6FCB #CB4A6F #6FCB4A
tetradic
#4A6FCB #CB4AAF #CBA64A #4ACB66
square
#4A6FCB #CB4AAF #CBA64A #4ACB66
split-complementary
#4A6FCB #CB664A #AFCB4A
monochromatic
#233B78 #3052A8 #4A6FCB #7A95D9 #A9BBE6

Accessibility & contrast

On white

4.74
#4A6FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4A6FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6FCB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6FCB#FFFFFF#000000##FFFFFF
##4A6FCB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#2D6DC9
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a6fcb;
/* rgb */ color: rgb(74, 111, 203);
/* oklch */ color: oklch(56.1% 0.148 265.4);
Tailwind
colors: {
  custom: {
    50: '#8997db',
    500: '#4a6fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4a6fcb;
$custom-light: #8997db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6fcb",
  "rgb": {
    "r": 74,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 222.791,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56101,
    "c": 0.14836,
    "h": 265.4
  },
  "luminance": 0.17137
}

Semantic roles & 50–950 ramp

primary
#4A6FCB
secondary
#D4C49D
accent
#B449DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4A6FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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