#4E6BDA#4E6BDA

#4E6BDA is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.5% C 0.173 H 269.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4E6BDA
RGBrgb(78, 107, 218)
HSLhsl(228, 65%, 58%)
HSVhsv(228, 64%, 85%)
CMYKcmyk(64.2%, 50.9%, 0%, 14.5%)
CIE-LABlab(48.50, 24.47, -60.18)
CIE-LCHlch(48.50, 64.96, 292.13°)
OKLaboklab(56.52% -0.0024 -0.1726)
OKLCHoklch(56.52% 0.173 269.2)
XYZxyz(21.0502, 17.1951, 68.5257)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6BDA #DABD4E
analogous
#4EB1DA #4E6BDA #774EDA
triadic
#4E6BDA #DA4E6B #6BDA4E
tetradic
#4E6BDA #DA4EB1 #DABD4E #4EDA77
square
#4E6BDA #DA4EB1 #DABD4E #4EDA77
split-complementary
#4E6BDA #DA774E #B1DA4E
monochromatic
#1E3690 #2948C2 #4E6BDA #8195E5 #B3C0EF

Accessibility & contrast

On white

4.73
#4E6BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4E6BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6BDA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6BDA#FFFFFF#000000##FFFFFF
##4E6BDA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A7ADE
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#008598
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e6bda;
/* rgb */ color: rgb(78, 107, 218);
/* oklch */ color: oklch(56.5% 0.173 269.2);
Tailwind
colors: {
  custom: {
    50: '#8d95e6',
    500: '#4e6bda',
    950: '#000000',
  },
}
SCSS
$custom: #4e6bda;
$custom-light: #8d95e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6bda",
  "rgb": {
    "r": 78,
    "g": 107,
    "b": 218
  },
  "hsl": {
    "h": 227.571,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56515,
    "c": 0.17263,
    "h": 269.2
  },
  "luminance": 0.17197
}

Semantic roles & 50–950 ramp

primary
#4E6BDA
secondary
#DED2A6
accent
#C53FE8
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4E6BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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