#4A5EBF#4A5EBF

#4A5EBF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.8% C 0.153 H 271.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4A5EBF
RGBrgb(74, 94, 191)
HSLhsl(230, 48%, 52%)
HSVhsv(230, 61%, 75%)
CMYKcmyk(61.3%, 50.8%, 0%, 25.1%)
CIE-LABlab(43.10, 22.66, -53.41)
CIE-LCHlch(43.10, 58.02, 292.99°)
OKLaboklab(51.8% 0.0036 -0.1529)
OKLCHoklch(51.8% 0.153 271.3)
XYZxyz(16.2276, 13.2215, 50.9770)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5EBF #BFAB4A
analogous
#4A98BF #4A5EBF #714ABF
triadic
#4A5EBF #BF4A5E #5EBF4A
tetradic
#4A5EBF #BF4A98 #BFAB4A #4ABF71
square
#4A5EBF #BF4A98 #BFAB4A #4ABF71
split-complementary
#4A5EBF #BF714A #98BF4A
monochromatic
#253169 #354697 #4A5EBF #7786CF #A4AEDF

Accessibility & contrast

On white

5.76
#4A5EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4A5EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5EBF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5EBF#FFFFFF#000000##FFFFFF
##4A5EBF1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#0961BD
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a5ebf;
/* rgb */ color: rgb(74, 94, 191);
/* oklch */ color: oklch(51.8% 0.153 271.3);
Tailwind
colors: {
  custom: {
    50: '#878bd3',
    500: '#4a5ebf',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ebf;
$custom-light: #878bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ebf",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 229.744,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51797,
    "c": 0.15299,
    "h": 271.3
  },
  "luminance": 0.13223
}

Semantic roles & 50–950 ramp

primary
#4A5EBF
secondary
#CCC399
accent
#C050D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4A5EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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