#4A6CCF#4A6CCF

#4A6CCF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.7% C 0.158 H 267.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4A6CCF
RGBrgb(74, 108, 207)
HSLhsl(225, 58%, 55%)
HSVhsv(225, 64%, 81%)
CMYKcmyk(64.3%, 47.8%, 0%, 18.8%)
CIE-LABlab(47.86, 19.36, -54.97)
CIE-LCHlch(47.86, 58.28, 289.41°)
OKLaboklab(55.74% -0.0083 -0.1573)
OKLCHoklch(55.74% 0.158 267)
XYZxyz(19.4452, 16.6842, 61.2150)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6CCF #CFAD4A
analogous
#4AAECF #4A6CCF #6B4ACF
triadic
#4A6CCF #CF4A6C #6CCF4A
tetradic
#4A6CCF #CF4AAE #CFAD4A #4ACF6B
square
#4A6CCF #CF4AAE #CFAD4A #4ACF6B
split-complementary
#4A6CCF #CF6B4A #AECF4A
monochromatic
#21397D #2E4FAE #4A6CCF #7A93DC #ABBBE9

Accessibility & contrast

On white

4.84
#4A6CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4A6CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6CCF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6CCF#FFFFFF#000000##FFFFFF
##4A6CCF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3978D3
Deuteranopia (green-blind)
#1D6CCD
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a6ccf;
/* rgb */ color: rgb(74, 108, 207);
/* oklch */ color: oklch(55.7% 0.158 267.0);
Tailwind
colors: {
  custom: {
    50: '#8995de',
    500: '#4a6ccf',
    950: '#000000',
  },
}
SCSS
$custom: #4a6ccf;
$custom-light: #8995de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6ccf",
  "rgb": {
    "r": 74,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 224.662,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.15756,
    "h": 267
  },
  "luminance": 0.16686
}

Semantic roles & 50–950 ramp

primary
#4A6CCF
secondary
#D6C89F
accent
#BA46E1
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4A6CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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