#4A7BD7#4A7BD7

#4A7BD7 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.4% C 0.151 H 261.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4A7BD7
RGBrgb(74, 123, 215)
HSLhsl(219, 64%, 57%)
HSVhsv(219, 66%, 84%)
CMYKcmyk(65.6%, 42.8%, 0%, 15.7%)
CIE-LABlab(52.43, 12.83, -52.19)
CIE-LCHlch(52.43, 53.75, 283.81°)
OKLaboklab(59.4% -0.0215 -0.149)
OKLCHoklch(59.4% 0.151 261.8)
XYZxyz(22.1684, 20.5259, 67.0704)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BD7 #D7A64A
analogous
#4AC2D7 #4A7BD7 #604AD7
triadic
#4A7BD7 #D74A7B #7BD74A
tetradic
#4A7BD7 #D74AC2 #D7A64A #4AD760
square
#4A7BD7 #D74AC2 #D7A64A #4AD760
split-complementary
#4A7BD7 #D7604A #C2D74A
monochromatic
#1E4388 #295CBB #4A7BD7 #7CA0E2 #AEC4ED

Accessibility & contrast

On white

4.11
#4A7BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4A7BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BD7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BD7#FFFFFF#000000##000000
##4A7BD71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5084DB
Deuteranopia (green-blind)
#3977D5
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7bd7;
/* rgb */ color: rgb(74, 123, 215);
/* oklch */ color: oklch(59.4% 0.151 261.8);
Tailwind
colors: {
  custom: {
    50: '#8aa0e4',
    500: '#4a7bd7',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bd7;
$custom-light: #8aa0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bd7",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 215
  },
  "hsl": {
    "h": 219.149,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59401,
    "c": 0.15052,
    "h": 261.8
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

primary
#4A7BD7
secondary
#DBC7A2
accent
#AD41E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #4A7BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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