#4A7AEF#4A7AEF

#4A7AEF is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.8% C 0.184 H 264.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4A7AEF
RGBrgb(74, 122, 239)
HSLhsl(223, 84%, 61%)
HSVhsv(223, 69%, 94%)
CMYKcmyk(69%, 49%, 0%, 6.3%)
CIE-LABlab(53.60, 21.86, -63.77)
CIE-LCHlch(53.60, 67.41, 288.92°)
OKLaboklab(60.77% -0.0169 -0.183)
OKLCHoklch(60.77% 0.184 264.7)
XYZxyz(25.3581, 21.6043, 84.4783)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7AEF #EFBF4A
analogous
#4ACDEF #4A7AEF #6D4AEF
triadic
#4A7AEF #EF4A7A #7AEF4A
tetradic
#4A7AEF #EF4ACD #EFBF4A #4AEF6D
square
#4A7AEF #EF4ACD #EFBF4A #4AEF6D
split-complementary
#4A7AEF #EF6D4A #CDEF4A
monochromatic
#0F3EAF #1452E7 #4A7AEF #82A3F4 #BACDF9

Accessibility & contrast

On white

3.95
#4A7AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#4A7AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7AEF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7AEF#FFFFFF#000000##000000
##4A7AEF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7aef;
/* rgb */ color: rgb(74, 122, 239);
/* oklch */ color: oklch(60.8% 0.184 264.7);
Tailwind
colors: {
  custom: {
    50: '#8f9ff5',
    500: '#4a7aef',
    950: '#000000',
  },
}
SCSS
$custom: #4a7aef;
$custom-light: #8f9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7aef",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 222.545,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6077,
    "c": 0.18381,
    "h": 264.7
  },
  "luminance": 0.21607
}

Semantic roles & 50–950 ramp

primary
#4A7AEF
secondary
#E9D7AC
accent
#A105E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4A7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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