#4A6CDE#4A6CDE

#4A6CDE is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.8% C 0.178 H 267.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4A6CDE
RGBrgb(74, 108, 222)
HSLhsl(226, 69%, 58%)
HSVhsv(226, 67%, 87%)
CMYKcmyk(66.7%, 51.4%, 0%, 12.9%)
CIE-LABlab(48.83, 24.60, -61.94)
CIE-LCHlch(48.83, 66.64, 291.66°)
OKLaboklab(56.79% -0.0067 -0.1778)
OKLCHoklch(56.79% 0.178 267.9)
XYZxyz(21.3669, 17.4529, 71.3358)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6CDE #DEBC4A
analogous
#4AB6DE #4A6CDE #724ADE
triadic
#4A6CDE #DE4A6C #6CDE4A
tetradic
#4A6CDE #DE4AB6 #DEBC4A #4ADE72
square
#4A6CDE #DE4AB6 #DEBC4A #4ADE72
split-complementary
#4A6CDE #DE724A #B6DE4A
monochromatic
#1B3693 #244AC7 #4A6CDE #7E96E7 #B2C0F1

Accessibility & contrast

On white

4.68
#4A6CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4A6CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6CDE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6CDE#FFFFFF#000000##FFFFFF
##4A6CDE1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#257BE2
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4a6cde;
/* rgb */ color: rgb(74, 108, 222);
/* oklch */ color: oklch(56.8% 0.178 267.9);
Tailwind
colors: {
  custom: {
    50: '#8c95e9',
    500: '#4a6cde',
    950: '#000000',
  },
}
SCSS
$custom: #4a6cde;
$custom-light: #8c95e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6cde",
  "rgb": {
    "r": 74,
    "g": 108,
    "b": 222
  },
  "hsl": {
    "h": 226.216,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.17797,
    "h": 267.9
  },
  "luminance": 0.17455
}

Semantic roles & 50–950 ramp

primary
#4A6CDE
secondary
#DFD2A4
accent
#C43CEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4A6CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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