#4A6CDB#4A6CDB

#4A6CDB is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.6% C 0.174 H 267.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4A6CDB
RGBrgb(74, 108, 219)
HSLhsl(226, 67%, 57%)
HSVhsv(226, 66%, 86%)
CMYKcmyk(66.2%, 50.7%, 0%, 14.1%)
CIE-LABlab(48.63, 23.55, -60.56)
CIE-LCHlch(48.63, 64.98, 291.25°)
OKLaboklab(56.57% -0.0069 -0.1738)
OKLCHoklch(56.57% 0.174 267.7)
XYZxyz(20.9684, 17.2935, 69.2370)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6CDB #DBB94A
analogous
#4AB4DB #4A6CDB #714ADB
triadic
#4A6CDB #DB4A6C #6CDB4A
tetradic
#4A6CDB #DB4AB4 #DBB94A #4ADB71
square
#4A6CDB #DB4AB4 #DBB94A #4ADB71
split-complementary
#4A6CDB #DB714A #B4DB4A
monochromatic
#1C378E #264BC1 #4A6CDB #7D95E5 #B0BFEF

Accessibility & contrast

On white

4.71
#4A6CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4A6CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6CDB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6CDB#FFFFFF#000000##FFFFFF
##4A6CDB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A7ADF
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#008699
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a6cdb;
/* rgb */ color: rgb(74, 108, 219);
/* oklch */ color: oklch(56.6% 0.174 267.7);
Tailwind
colors: {
  custom: {
    50: '#8c95e7',
    500: '#4a6cdb',
    950: '#000000',
  },
}
SCSS
$custom: #4a6cdb;
$custom-light: #8c95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6cdb",
  "rgb": {
    "r": 74,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 225.931,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56574,
    "c": 0.17393,
    "h": 267.7
  },
  "luminance": 0.17295
}

Semantic roles & 50–950 ramp

primary
#4A6CDB
secondary
#DED0A3
accent
#C13EEA
background
#F9F9FE
surface
#F1F1FC
border
#CBCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4A6CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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