#4A7BE3#4A7BE3

#4A7BE3 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.2% C 0.167 H 263.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4A7BE3
RGBrgb(74, 123, 227)
HSLhsl(221, 73%, 59%)
HSVhsv(221, 67%, 89%)
CMYKcmyk(67.4%, 45.8%, 0%, 11%)
CIE-LABlab(53.13, 17.03, -57.82)
CIE-LCHlch(53.13, 60.28, 286.41°)
OKLaboklab(60.17% -0.0195 -0.1655)
OKLCHoklch(60.17% 0.167 263.3)
XYZxyz(23.7672, 21.1654, 75.4909)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BE3 #E3B24A
analogous
#4AC8E3 #4A7BE3 #664AE3
triadic
#4A7BE3 #E34A7B #7BE34A
tetradic
#4A7BE3 #E34AC8 #E3B24A #4AE366
square
#4A7BE3 #E34AC8 #E3B24A #4AE366
split-complementary
#4A7BE3 #E3664A #C8E34A
monochromatic
#18429B #2058D0 #4A7BE3 #7FA2EB #B4C8F3

Accessibility & contrast

On white

4.01
#4A7BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4A7BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BE3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BE3#FFFFFF#000000##000000
##4A7BE31.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4686E7
Deuteranopia (green-blind)
#2778E1
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7be3;
/* rgb */ color: rgb(74, 123, 227);
/* oklch */ color: oklch(60.2% 0.167 263.3);
Tailwind
colors: {
  custom: {
    50: '#8ca0ec',
    500: '#4a7be3',
    950: '#000000',
  },
}
SCSS
$custom: #4a7be3;
$custom-light: #8ca0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7be3",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 227
  },
  "hsl": {
    "h": 220.784,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60169,
    "c": 0.16667,
    "h": 263.3
  },
  "luminance": 0.21168
}

Semantic roles & 50–950 ramp

primary
#4A7BE3
secondary
#E2CFA6
accent
#B538F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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