#4A7BE9#4A7BE9

#4A7BE9 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.6% C 0.175 H 263.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4A7BE9
RGBrgb(74, 123, 233)
HSLhsl(222, 78%, 60%)
HSVhsv(222, 68%, 91%)
CMYKcmyk(68.2%, 47.2%, 0%, 8.6%)
CIE-LABlab(53.50, 19.14, -60.60)
CIE-LCHlch(53.50, 63.55, 287.53°)
OKLaboklab(60.57% -0.0186 -0.1737)
OKLCHoklch(60.57% 0.175 263.9)
XYZxyz(24.6098, 21.5025, 79.9284)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BE9 #E9B84A
analogous
#4ACBE9 #4A7BE9 #684AE9
triadic
#4A7BE9 #E94A7B #7BE94A
tetradic
#4A7BE9 #E94ACB #E9B84A #4AE968
square
#4A7BE9 #E94ACB #E9B84A #4AE968
split-complementary
#4A7BE9 #E9684A #CBE94A
monochromatic
#1441A5 #1B56DB #4A7BE9 #81A3F0 #B7CBF6

Accessibility & contrast

On white

3.96
#4A7BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4A7BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BE9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BE9#FFFFFF#000000##000000
##4A7BE91.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088ED
Deuteranopia (green-blind)
#1979E7
Tritanopia (blue-blind)
#0095A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7be9;
/* rgb */ color: rgb(74, 123, 233);
/* oklch */ color: oklch(60.6% 0.175 263.9);
Tailwind
colors: {
  custom: {
    50: '#8ea0f1',
    500: '#4a7be9',
    950: '#000000',
  },
}
SCSS
$custom: #4a7be9;
$custom-light: #8ea0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7be9",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 233
  },
  "hsl": {
    "h": 221.509,
    "s": 78.325,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60566,
    "c": 0.17468,
    "h": 263.9
  },
  "luminance": 0.21505
}

Semantic roles & 50–950 ramp

primary
#4A7BE9
secondary
#E6D3A9
accent
#9B0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4A7BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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