#4A7EEF#4A7EEF

#4A7EEF is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.6% C 0.179 H 263.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4A7EEF
RGBrgb(74, 126, 239)
HSLhsl(221, 84%, 61%)
HSVhsv(221, 69%, 94%)
CMYKcmyk(69%, 47.3%, 0%, 6.3%)
CIE-LABlab(54.67, 19.40, -62.06)
CIE-LCHlch(54.67, 65.02, 287.36°)
OKLaboklab(61.58% -0.0204 -0.1779)
OKLCHoklch(61.58% 0.179 263.5)
XYZxyz(25.8594, 22.6069, 84.6454)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7EEF #EFBB4A
analogous
#4AD1EF #4A7EEF #694AEF
triadic
#4A7EEF #EF4A7E #7EEF4A
tetradic
#4A7EEF #EF4AD1 #EFBB4A #4AEF69
square
#4A7EEF #EF4AD1 #EFBB4A #4AEF69
split-complementary
#4A7EEF #EF694A #D1EF4A
monochromatic
#0F42AF #1457E7 #4A7EEF #82A6F4 #BACEF9

Accessibility & contrast

On white

3.80
#4A7EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4A7EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7EEF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7EEF#FFFFFF#000000##000000
##4A7EEF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF3
Deuteranopia (green-blind)
#167CED
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4a7eef;
/* rgb */ color: rgb(74, 126, 239);
/* oklch */ color: oklch(61.6% 0.179 263.5);
Tailwind
colors: {
  custom: {
    50: '#8fa2f5',
    500: '#4a7eef',
    950: '#000000',
  },
}
SCSS
$custom: #4a7eef;
$custom-light: #8fa2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7eef",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 221.091,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6158,
    "c": 0.17911,
    "h": 263.5
  },
  "luminance": 0.2261
}

Semantic roles & 50–950 ramp

primary
#4A7EEF
secondary
#E9D6AC
accent
#9B05E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4A7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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