#4A4ECF#4A4ECF

#4A4ECF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.1% C 0.195 H 275.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4A4ECF
RGBrgb(74, 78, 207)
HSLhsl(238, 58%, 55%)
HSVhsv(238, 64%, 81%)
CMYKcmyk(64.3%, 62.3%, 0%, 18.8%)
CIE-LABlab(40.26, 38.15, -67.27)
CIE-LCHlch(40.26, 77.34, 299.55°)
OKLaboklab(50.05% 0.0185 -0.1939)
OKLCHoklch(50.05% 0.195 275.4)
XYZxyz(16.8072, 11.4082, 60.3357)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ECF #CFCB4A
analogous
#4A91CF #4A4ECF #884ACF
triadic
#4A4ECF #CF4A4E #4ECF4A
tetradic
#4A4ECF #CF4A91 #CFCB4A #4ACF88
square
#4A4ECF #CF4A91 #CFCB4A #4ACF88
split-complementary
#4A4ECF #CF884A #91CF4A
monochromatic
#21247D #2E32AE #4A4ECF #7A7DDC #ABADE9

Accessibility & contrast

On white

6.40
#4A4ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4A4ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ECF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ECF#FFFFFF#000000##FFFFFF
##4A4ECF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a4ecf;
/* rgb */ color: rgb(74, 78, 207);
/* oklch */ color: oklch(50.1% 0.195 275.4);
Tailwind
colors: {
  custom: {
    50: '#8b80df',
    500: '#4a4ecf',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ecf;
$custom-light: #8b80df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ecf",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 238.195,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50051,
    "c": 0.19475,
    "h": 275.4
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#4A4ECF
secondary
#D6D59F
accent
#DD46E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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