#4A4ECB#4A4ECB

#4A4ECB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.7% C 0.190 H 275.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4A4ECB
RGBrgb(74, 78, 203)
HSLhsl(238, 55%, 54%)
HSVhsv(238, 64%, 80%)
CMYKcmyk(63.5%, 61.6%, 0%, 20.4%)
CIE-LABlab(39.94, 36.81, -65.48)
CIE-LCHlch(39.94, 75.12, 299.34°)
OKLaboklab(49.72% 0.0187 -0.1886)
OKLCHoklch(49.72% 0.19 275.7)
XYZxyz(16.3244, 11.2151, 57.7928)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ECB #CBC74A
analogous
#4A8ECB #4A4ECB #874ACB
triadic
#4A4ECB #CB4A4E #4ECB4A
tetradic
#4A4ECB #CB4A8E #CBC74A #4ACB87
square
#4A4ECB #CB4A8E #CBC74A #4ACB87
split-complementary
#4A4ECB #CB874A #8ECB4A
monochromatic
#232578 #3034A8 #4A4ECB #7A7CD9 #A9ABE6

Accessibility & contrast

On white

6.48
#4A4ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4A4ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ECB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ECB#FFFFFF#000000##FFFFFF
##4A4ECB1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a4ecb;
/* rgb */ color: rgb(74, 78, 203);
/* oklch */ color: oklch(49.7% 0.190 275.7);
Tailwind
colors: {
  custom: {
    50: '#8a80dc',
    500: '#4a4ecb',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ecb;
$custom-light: #8a80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ecb",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 238.14,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49717,
    "c": 0.18954,
    "h": 275.7
  },
  "luminance": 0.11216
}

Semantic roles & 50–950 ramp

primary
#4A4ECB
secondary
#D4D29D
accent
#DA49DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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