#4A6BDF#4A6BDF

#4A6BDF is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.7% C 0.181 H 268.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4A6BDF
RGBrgb(74, 107, 223)
HSLhsl(227, 70%, 58%)
HSVhsv(227, 67%, 87%)
CMYKcmyk(66.8%, 52%, 0%, 12.5%)
CIE-LABlab(48.63, 25.58, -62.82)
CIE-LCHlch(48.63, 67.82, 292.15°)
OKLaboklab(56.66% -0.0057 -0.1804)
OKLCHoklch(56.66% 0.181 268.2)
XYZxyz(21.3964, 17.2969, 72.0088)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6BDF #DFBE4A
analogous
#4AB6DF #4A6BDF #734ADF
triadic
#4A6BDF #DF4A6B #6BDF4A
tetradic
#4A6BDF #DF4AB6 #DFBE4A #4ADF73
square
#4A6BDF #DF4AB6 #DFBE4A #4ADF73
split-complementary
#4A6BDF #DF734A #B6DF4A
monochromatic
#1A3594 #2348C8 #4A6BDF #7E96E8 #B2C0F1

Accessibility & contrast

On white

4.71
#4A6BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4A6BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6BDF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6BDF#FFFFFF#000000##FFFFFF
##4A6BDF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F7BE3
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a6bdf;
/* rgb */ color: rgb(74, 107, 223);
/* oklch */ color: oklch(56.7% 0.181 268.2);
Tailwind
colors: {
  custom: {
    50: '#8c94ea',
    500: '#4a6bdf',
    950: '#000000',
  },
}
SCSS
$custom: #4a6bdf;
$custom-light: #8c94ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6bdf",
  "rgb": {
    "r": 74,
    "g": 107,
    "b": 223
  },
  "hsl": {
    "h": 226.711,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56661,
    "c": 0.18054,
    "h": 268.2
  },
  "luminance": 0.17299
}

Semantic roles & 50–950 ramp

primary
#4A6BDF
secondary
#E0D3A5
accent
#C53BED
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4A6BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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