#4A7BDF#4A7BDF

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

Color values

HEX#4A7BDF
RGBrgb(74, 123, 223)
HSLhsl(220, 70%, 58%)
HSVhsv(220, 67%, 87%)
CMYKcmyk(66.8%, 44.8%, 0%, 12.5%)
CIE-LABlab(52.89, 15.63, -55.96)
CIE-LCHlch(52.89, 58.10, 285.60°)
OKLaboklab(59.91% -0.0201 -0.16)
OKLCHoklch(59.91% 0.161 262.8)
XYZxyz(23.2216, 20.9472, 72.6172)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BDF #DFAE4A
analogous
#4AC6DF #4A7BDF #634ADF
triadic
#4A7BDF #DF4A7B #7BDF4A
tetradic
#4A7BDF #DF4AC6 #DFAE4A #4ADF63
square
#4A7BDF #DF4AC6 #DFAE4A #4ADF63
split-complementary
#4A7BDF #DF634A #C6DF4A
monochromatic
#1A4294 #235AC8 #4A7BDF #7EA1E8 #B2C7F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7BDF#FFFFFF#000000##000000
##4A7BDF1.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)
#4A86E3
Deuteranopia (green-blind)
#2E78DD
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7bdf;
/* rgb */ color: rgb(74, 123, 223);
/* oklch */ color: oklch(59.9% 0.161 262.8);
Tailwind
colors: {
  custom: {
    50: '#8ca0e9',
    500: '#4a7bdf',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bdf;
$custom-light: #8ca0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bdf",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 220.268,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59909,
    "c": 0.16131,
    "h": 262.8
  },
  "luminance": 0.20949
}

Semantic roles & 50–950 ramp

primary
#4A7BDF
secondary
#E0CDA5
accent
#B23BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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