#4A7ACE#4A7ACE

#4A7ACE is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.6% C 0.139 H 260.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4A7ACE
RGBrgb(74, 122, 206)
HSLhsl(218, 57%, 55%)
HSVhsv(218, 64%, 81%)
CMYKcmyk(64.1%, 40.8%, 0%, 19.2%)
CIE-LABlab(51.64, 10.32, -48.34)
CIE-LCHlch(51.64, 49.43, 282.05°)
OKLaboklab(58.63% -0.0223 -0.1377)
OKLCHoklch(58.63% 0.139 260.8)
XYZxyz(20.9202, 19.8292, 61.1055)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7ACE #CE9E4A
analogous
#4ABCCE #4A7ACE #5C4ACE
triadic
#4A7ACE #CE4A7A #7ACE4A
tetradic
#4A7ACE #CE4ABC #CE9E4A #4ACE5C
square
#4A7ACE #CE4ABC #CE9E4A #4ACE5C
split-complementary
#4A7ACE #CE5C4A #BCCE4A
monochromatic
#22427C #2F5CAC #4A7ACE #7A9DDB #AAC1E8

Accessibility & contrast

On white

4.23
#4A7ACE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4A7ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7ACE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7ACE#FFFFFF#000000##000000
##4A7ACE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D1
Deuteranopia (green-blind)
#4075CC
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a7ace;
/* rgb */ color: rgb(74, 122, 206);
/* oklch */ color: oklch(58.6% 0.139 260.8);
Tailwind
colors: {
  custom: {
    50: '#89a0dd',
    500: '#4a7ace',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ace;
$custom-light: #89a0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ace",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 206
  },
  "hsl": {
    "h": 218.182,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58632,
    "c": 0.13948,
    "h": 260.8
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#4A7ACE
secondary
#D6C19E
accent
#A947E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A7ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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