#4A5AAF#4A5AAF

#4A5AAF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.136 H 272.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4A5AAF
RGBrgb(74, 90, 175)
HSLhsl(230, 41%, 49%)
HSVhsv(230, 58%, 69%)
CMYKcmyk(57.7%, 48.6%, 0%, 31.4%)
CIE-LABlab(41.00, 19.73, -47.42)
CIE-LCHlch(41.00, 51.36, 292.59°)
OKLaboklab(49.88% 0.0061 -0.1354)
OKLCHoklch(49.88% 0.136 272.6)
XYZxyz(14.2155, 11.8623, 42.0897)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5AAF #AF9F4A
analogous
#4A8DAF #4A5AAF #6D4AAF
triadic
#4A5AAF #AF4A5A #5AAF4A
tetradic
#4A5AAF #AF4A8D #AF9F4A #4AAF6D
square
#4A5AAF #AF4A8D #AF9F4A #4AAF6D
split-complementary
#4A5AAF #AF6D4A #8DAF4A
monochromatic
#262E59 #384484 #4A5AAF #737FC4 #9EA6D6

Accessibility & contrast

On white

6.23
#4A5AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4A5AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5AAF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5AAF#FFFFFF#000000##FFFFFF
##4A5AAF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#215DAD
Tritanopia (blue-blind)
#056D7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a5aaf;
/* rgb */ color: rgb(74, 90, 175);
/* oklch */ color: oklch(49.9% 0.136 272.6);
Tailwind
colors: {
  custom: {
    50: '#8588c7',
    500: '#4a5aaf',
    950: '#000000',
  },
}
SCSS
$custom: #4a5aaf;
$custom-light: #8588c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5aaf",
  "rgb": {
    "r": 74,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 230.495,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49876,
    "c": 0.13552,
    "h": 272.6
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#4A5AAF
secondary
#C2BB92
accent
#BD57D0
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4A5AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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