#4A7BDD#4A7BDD

#4A7BDD is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.8% C 0.159 H 262.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4A7BDD
RGBrgb(74, 123, 221)
HSLhsl(220, 68%, 58%)
HSVhsv(220, 67%, 87%)
CMYKcmyk(66.5%, 44.3%, 0%, 13.3%)
CIE-LABlab(52.77, 14.93, -55.02)
CIE-LCHlch(52.77, 57.01, 285.18°)
OKLaboklab(59.78% -0.0204 -0.1573)
OKLCHoklch(59.78% 0.159 262.6)
XYZxyz(22.9535, 20.8400, 71.2054)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BDD #DDAC4A
analogous
#4AC4DD #4A7BDD #624ADD
triadic
#4A7BDD #DD4A7B #7BDD4A
tetradic
#4A7BDD #DD4AC4 #DDAC4A #4ADD62
square
#4A7BDD #DD4AC4 #DDAC4A #4ADD62
split-complementary
#4A7BDD #DD624A #C4DD4A
monochromatic
#1B4391 #255AC5 #4A7BDD #7EA1E7 #B1C6F0

Accessibility & contrast

On white

4.06
#4A7BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4A7BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BDD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BDD#FFFFFF#000000##000000
##4A7BDD1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B85E1
Deuteranopia (green-blind)
#3178DB
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7bdd;
/* rgb */ color: rgb(74, 123, 221);
/* oklch */ color: oklch(59.8% 0.159 262.6);
Tailwind
colors: {
  custom: {
    50: '#8ba0e8',
    500: '#4a7bdd',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bdd;
$custom-light: #8ba0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bdd",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 220,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59781,
    "c": 0.15861,
    "h": 262.6
  },
  "luminance": 0.20842
}

Semantic roles & 50–950 ramp

primary
#4A7BDD
secondary
#DFCBA4
accent
#B13DEB
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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