#4A7BE1#4A7BE1

#4A7BE1 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.0% C 0.164 H 263.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4A7BE1
RGBrgb(74, 123, 225)
HSLhsl(221, 72%, 59%)
HSVhsv(221, 67%, 88%)
CMYKcmyk(67.1%, 45.3%, 0%, 11.8%)
CIE-LABlab(53.01, 16.33, -56.89)
CIE-LCHlch(53.01, 59.19, 286.01°)
OKLaboklab(60.04% -0.0198 -0.1628)
OKLCHoklch(60.04% 0.164 263.1)
XYZxyz(23.4928, 21.0557, 74.0456)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BE1 #E1B04A
analogous
#4AC6E1 #4A7BE1 #644AE1
triadic
#4A7BE1 #E14A7B #7BE14A
tetradic
#4A7BE1 #E14AC6 #E1B04A #4AE164
square
#4A7BE1 #E14AC6 #E1B04A #4AE164
split-complementary
#4A7BE1 #E1644A #C6E14A
monochromatic
#194297 #2259CC #4A7BE1 #7EA1EA #B3C8F2

Accessibility & contrast

On white

4.03
#4A7BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4A7BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BE1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BE1#FFFFFF#000000##000000
##4A7BE11.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4886E5
Deuteranopia (green-blind)
#2B78DF
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7be1;
/* rgb */ color: rgb(74, 123, 225);
/* oklch */ color: oklch(60.0% 0.164 263.1);
Tailwind
colors: {
  custom: {
    50: '#8ca0eb',
    500: '#4a7be1',
    950: '#000000',
  },
}
SCSS
$custom: #4a7be1;
$custom-light: #8ca0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7be1",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 225
  },
  "hsl": {
    "h": 220.53,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60039,
    "c": 0.16399,
    "h": 263.1
  },
  "luminance": 0.21058
}

Semantic roles & 50–950 ramp

primary
#4A7BE1
secondary
#E1CEA6
accent
#B439EE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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