#4A7CCB#4A7CCB

#4A7CCB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 58.9% C 0.133 H 259.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4A7CCB
RGBrgb(74, 124, 203)
HSLhsl(217, 55%, 54%)
HSVhsv(217, 64%, 80%)
CMYKcmyk(63.5%, 38.9%, 0%, 20.4%)
CIE-LABlab(52.04, 8.06, -46.00)
CIE-LCHlch(52.04, 46.71, 279.94°)
OKLaboklab(58.89% -0.025 -0.1308)
OKLCHoklch(58.89% 0.133 259.2)
XYZxyz(20.8074, 20.1810, 59.2871)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CCB #CB994A
analogous
#4ABDCB #4A7CCB #594ACB
triadic
#4A7CCB #CB4A7C #7CCB4A
tetradic
#4A7CCB #CB4ABD #CB994A #4ACB59
square
#4A7CCB #CB4ABD #CB994A #4ACB59
split-complementary
#4A7CCB #CB594A #BDCB4A
monochromatic
#234478 #305EA8 #4A7CCB #7A9ED9 #A9C1E6

Accessibility & contrast

On white

4.17
#4A7CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4A7CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CCB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CCB#FFFFFF#000000##000000
##4A7CCB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CE
Deuteranopia (green-blind)
#4777C9
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a7ccb;
/* rgb */ color: rgb(74, 124, 203);
/* oklch */ color: oklch(58.9% 0.133 259.2);
Tailwind
colors: {
  custom: {
    50: '#88a1db',
    500: '#4a7ccb',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ccb;
$custom-light: #88a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ccb",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 203
  },
  "hsl": {
    "h": 216.744,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58887,
    "c": 0.13317,
    "h": 259.2
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#4A7CCB
secondary
#D4BF9D
accent
#A549DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4A7CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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