#4A7ECB#4A7ECB

#4A7ECB is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.3% C 0.131 H 258.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4A7ECB
RGBrgb(74, 126, 203)
HSLhsl(216, 55%, 54%)
HSVhsv(216, 64%, 80%)
CMYKcmyk(63.5%, 37.9%, 0%, 20.4%)
CIE-LABlab(52.61, 6.85, -45.11)
CIE-LCHlch(52.61, 45.63, 278.63°)
OKLaboklab(59.33% -0.027 -0.1282)
OKLCHoklch(59.33% 0.131 258.1)
XYZxyz(21.0605, 20.6874, 59.3715)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7ECB #CB974A
analogous
#4ABFCB #4A7ECB #574ACB
triadic
#4A7ECB #CB4A7E #7ECB4A
tetradic
#4A7ECB #CB4ABF #CB974A #4ACB57
square
#4A7ECB #CB4ABF #CB974A #4ACB57
split-complementary
#4A7ECB #CB574A #BFCB4A
monochromatic
#234578 #3060A8 #4A7ECB #7AA0D9 #A9C2E6

Accessibility & contrast

On white

4.09
#4A7ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4A7ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7ECB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7ECB#FFFFFF#000000##000000
##4A7ECB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CE
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7ecb;
/* rgb */ color: rgb(74, 126, 203);
/* oklch */ color: oklch(59.3% 0.131 258.1);
Tailwind
colors: {
  custom: {
    50: '#88a3db',
    500: '#4a7ecb',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ecb;
$custom-light: #88a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ecb",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 215.814,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59325,
    "c": 0.13098,
    "h": 258.1
  },
  "luminance": 0.20689
}

Semantic roles & 50–950 ramp

primary
#4A7ECB
secondary
#D4BE9D
accent
#A249DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #4A7ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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