#4A7FCB#4A7FCB

#4A7FCB is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.5% C 0.130 H 257.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4A7FCB
RGBrgb(74, 127, 203)
HSLhsl(215, 55%, 54%)
HSVhsv(215, 64%, 80%)
CMYKcmyk(63.5%, 37.4%, 0%, 20.4%)
CIE-LABlab(52.89, 6.24, -44.66)
CIE-LCHlch(52.89, 45.09, 277.96°)
OKLaboklab(59.55% -0.028 -0.1268)
OKLCHoklch(59.55% 0.13 257.5)
XYZxyz(21.1891, 20.9444, 59.4143)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FCB #CB964A
analogous
#4AC0CB #4A7FCB #564ACB
triadic
#4A7FCB #CB4A7F #7FCB4A
tetradic
#4A7FCB #CB4AC0 #CB964A #4ACB56
square
#4A7FCB #CB4AC0 #CB964A #4ACB56
split-complementary
#4A7FCB #CB564A #C0CB4A
monochromatic
#234678 #3061A8 #4A7FCB #7AA1D9 #A9C2E6

Accessibility & contrast

On white

4.05
#4A7FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4A7FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FCB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FCB#FFFFFF#000000##000000
##4A7FCB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a7fcb;
/* rgb */ color: rgb(74, 127, 203);
/* oklch */ color: oklch(59.5% 0.130 257.5);
Tailwind
colors: {
  custom: {
    50: '#88a3db',
    500: '#4a7fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fcb;
$custom-light: #88a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fcb",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 215.349,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.1299,
    "h": 257.5
  },
  "luminance": 0.20946
}

Semantic roles & 50–950 ramp

primary
#4A7FCB
secondary
#D4BD9D
accent
#A149DF
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4A7FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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