#4A5FCF#4A5FCF

#4A5FCF is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.2% C 0.174 H 271.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4A5FCF
RGBrgb(74, 95, 207)
HSLhsl(231, 58%, 55%)
HSVhsv(231, 64%, 81%)
CMYKcmyk(64.3%, 54.1%, 0%, 18.8%)
CIE-LABlab(44.44, 27.55, -60.48)
CIE-LCHlch(44.44, 66.46, 294.49°)
OKLaboklab(53.15% 0.0039 -0.1737)
OKLCHoklch(53.15% 0.174 271.3)
XYZxyz(18.1749, 14.1437, 60.7916)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FCF #CFBA4A
analogous
#4AA2CF #4A5FCF #774ACF
triadic
#4A5FCF #CF4A5F #5FCF4A
tetradic
#4A5FCF #CF4AA2 #CFBA4A #4ACF77
square
#4A5FCF #CF4AA2 #CFBA4A #4ACF77
split-complementary
#4A5FCF #CF774A #A2CF4A
monochromatic
#21307D #2E42AE #4A5FCF #7A8ADC #ABB5E9

Accessibility & contrast

On white

5.48
#4A5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4A5FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FCF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FCF#FFFFFF#000000##FFFFFF
##4A5FCF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6FD3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a5fcf;
/* rgb */ color: rgb(74, 95, 207);
/* oklch */ color: oklch(53.2% 0.174 271.3);
Tailwind
colors: {
  custom: {
    50: '#8a8cde',
    500: '#4a5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fcf;
$custom-light: #8a8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fcf",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 230.526,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53154,
    "c": 0.17379,
    "h": 271.3
  },
  "luminance": 0.14145
}

Semantic roles & 50–950 ramp

primary
#4A5FCF
secondary
#D6CD9F
accent
#C946E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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