#4A7ADF#4A7ADF

#4A7ADF is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.7% C 0.162 H 263.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4A7ADF
RGBrgb(74, 122, 223)
HSLhsl(221, 70%, 58%)
HSVhsv(221, 67%, 87%)
CMYKcmyk(66.8%, 45.3%, 0%, 12.5%)
CIE-LABlab(52.62, 16.24, -56.40)
CIE-LCHlch(52.62, 58.69, 286.07°)
OKLaboklab(59.7% -0.0192 -0.1613)
OKLCHoklch(59.7% 0.162 263.2)
XYZxyz(23.0982, 20.7004, 72.5760)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7ADF #DFAF4A
analogous
#4AC4DF #4A7ADF #644ADF
triadic
#4A7ADF #DF4A7A #7ADF4A
tetradic
#4A7ADF #DF4AC4 #DFAF4A #4ADF64
square
#4A7ADF #DF4AC4 #DFAF4A #4ADF64
split-complementary
#4A7ADF #DF644A #C4DF4A
monochromatic
#1A4294 #2359C8 #4A7ADF #7EA0E8 #B2C6F1

Accessibility & contrast

On white

4.09
#4A7ADF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4A7ADF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7ADF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7ADF#FFFFFF#000000##000000
##4A7ADF1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#2B77DD
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7adf;
/* rgb */ color: rgb(74, 122, 223);
/* oklch */ color: oklch(59.7% 0.162 263.2);
Tailwind
colors: {
  custom: {
    50: '#8c9fe9',
    500: '#4a7adf',
    950: '#000000',
  },
}
SCSS
$custom: #4a7adf;
$custom-light: #8c9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7adf",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 223
  },
  "hsl": {
    "h": 220.671,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.16248,
    "h": 263.2
  },
  "luminance": 0.20703
}

Semantic roles & 50–950 ramp

primary
#4A7ADF
secondary
#E0CDA5
accent
#B43BED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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