#4A7BCF#4A7BCF

#4A7BCF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.9% C 0.140 H 260.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4A7BCF
RGBrgb(74, 123, 207)
HSLhsl(218, 58%, 55%)
HSVhsv(218, 64%, 81%)
CMYKcmyk(64.3%, 40.6%, 0%, 18.8%)
CIE-LABlab(51.98, 10.05, -48.38)
CIE-LCHlch(51.98, 49.41, 281.74°)
OKLaboklab(58.91% -0.0231 -0.1378)
OKLCHoklch(58.91% 0.14 260.5)
XYZxyz(21.1655, 20.1248, 61.7884)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BCF #CF9E4A
analogous
#4ABDCF #4A7BCF #5C4ACF
triadic
#4A7BCF #CF4A7B #7BCF4A
tetradic
#4A7BCF #CF4ABD #CF9E4A #4ACF5C
square
#4A7BCF #CF4ABD #CF9E4A #4ACF5C
split-complementary
#4A7BCF #CF5C4A #BDCF4A
monochromatic
#21437D #2E5DAE #4A7BCF #7A9EDC #ABC2E9

Accessibility & contrast

On white

4.18
#4A7BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4A7BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BCF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BCF#FFFFFF#000000##000000
##4A7BCF1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5583D2
Deuteranopia (green-blind)
#4176CD
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a7bcf;
/* rgb */ color: rgb(74, 123, 207);
/* oklch */ color: oklch(58.9% 0.140 260.5);
Tailwind
colors: {
  custom: {
    50: '#89a0de',
    500: '#4a7bcf',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bcf;
$custom-light: #89a0de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bcf",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 217.895,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58909,
    "c": 0.1397,
    "h": 260.5
  },
  "luminance": 0.20127
}

Semantic roles & 50–950 ramp

primary
#4A7BCF
secondary
#D6C29F
accent
#A846E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A7BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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