#4A4DAF#4A4DAF

#4A4DAF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.153 H 277.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4A4DAF
RGBrgb(74, 77, 175)
HSLhsl(238, 41%, 49%)
HSVhsv(238, 58%, 69%)
CMYKcmyk(57.7%, 56%, 0%, 31.4%)
CIE-LABlab(37.59, 28.04, -52.92)
CIE-LCHlch(37.59, 59.89, 297.92°)
OKLaboklab(47.31% 0.02 -0.1517)
OKLCHoklch(47.31% 0.153 277.5)
XYZxyz(13.2133, 9.8578, 41.7556)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4DAF #AFAC4A
analogous
#4A80AF #4A4DAF #7A4AAF
triadic
#4A4DAF #AF4A4D #4DAF4A
tetradic
#4A4DAF #AF4A80 #AFAC4A #4AAF7A
square
#4A4DAF #AF4A80 #AFAC4A #4AAF7A
split-complementary
#4A4DAF #AF7A4A #80AF4A
monochromatic
#262759 #383A84 #4A4DAF #7375C4 #9E9FD6

Accessibility & contrast

On white

7.07
#4A4DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4A4DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4DAF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4DAF#FFFFFF#000000##FFFFFF
##4A4DAF1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025DB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#0C6476
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a4daf;
/* rgb */ color: rgb(74, 77, 175);
/* oklch */ color: oklch(47.3% 0.153 277.5);
Tailwind
colors: {
  custom: {
    50: '#867ec8',
    500: '#4a4daf',
    950: '#000000',
  },
}
SCSS
$custom: #4a4daf;
$custom-light: #867ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4daf",
  "rgb": {
    "r": 74,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 238.218,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47311,
    "c": 0.15298,
    "h": 277.5
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#4A4DAF
secondary
#C2C192
accent
#CD57D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4A4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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