#4A70DF#4A70DF

#4A70DF is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.7% C 0.174 H 266.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4A70DF
RGBrgb(74, 112, 223)
HSLhsl(225, 70%, 58%)
HSVhsv(225, 67%, 87%)
CMYKcmyk(66.8%, 49.8%, 0%, 12.5%)
CIE-LABlab(49.94, 22.45, -60.70)
CIE-LCHlch(49.94, 64.72, 290.30°)
OKLaboklab(57.65% -0.0101 -0.1742)
OKLCHoklch(57.65% 0.174 266.7)
XYZxyz(21.9329, 18.3698, 72.1876)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A70DF #DFB94A
analogous
#4ABADF #4A70DF #6E4ADF
triadic
#4A70DF #DF4A70 #70DF4A
tetradic
#4A70DF #DF4ABA #DFB94A #4ADF6E
square
#4A70DF #DF4ABA #DFB94A #4ADF6E
split-complementary
#4A70DF #DF6E4A #BADF4A
monochromatic
#1A3994 #234DC8 #4A70DF #7E99E8 #B2C2F1

Accessibility & contrast

On white

4.49
#4A70DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#4A70DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A70DF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A70DF#FFFFFF#000000##000000
##4A70DF1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#307EE3
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a70df;
/* rgb */ color: rgb(74, 112, 223);
/* oklch */ color: oklch(57.7% 0.174 266.7);
Tailwind
colors: {
  custom: {
    50: '#8c98ea',
    500: '#4a70df',
    950: '#000000',
  },
}
SCSS
$custom: #4a70df;
$custom-light: #8c98ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a70df",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 224.698,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57654,
    "c": 0.17445,
    "h": 266.7
  },
  "luminance": 0.18372
}

Semantic roles & 50–950 ramp

primary
#4A70DF
secondary
#E0D1A5
accent
#BF3BED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4A70DF

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

Preview Lab → · Contrast checker → · Palette generator →

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