#4E6CAF#4E6CAF

#4E6CAF is a mid, moderate blue. Relative luminance 0.154; OKLCH L 54.0% C 0.111 H 264.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4E6CAF
RGBrgb(78, 108, 175)
HSLhsl(221, 38%, 50%)
HSVhsv(221, 55%, 69%)
CMYKcmyk(55.4%, 38.3%, 0%, 31.4%)
CIE-LABlab(46.23, 9.22, -39.07)
CIE-LCHlch(46.23, 40.14, 283.28°)
OKLaboklab(53.95% -0.0102 -0.1106)
OKLCHoklch(53.95% 0.111 264.7)
XYZxyz(16.2397, 15.4387, 42.6733)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CAF #AF914E
analogous
#4E9DAF #4E6CAF #604EAF
triadic
#4E6CAF #AF4E6C #6CAF4E
tetradic
#4E6CAF #AF4E9D #AF914E #4EAF60
square
#4E6CAF #AF4E9D #AF914E #4EAF60
split-complementary
#4E6CAF #AF604E #9DAF4E
monochromatic
#28385A #3B5285 #4E6CAF #788FC3 #A2B2D6

Accessibility & contrast

On white

5.14
#4E6CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4E6CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CAF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CAF#FFFFFF#000000##FFFFFF
##4E6CAF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5172B2
Deuteranopia (green-blind)
#4569AE
Tritanopia (blue-blind)
#157B85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e6caf;
/* rgb */ color: rgb(78, 108, 175);
/* oklch */ color: oklch(54.0% 0.111 264.7);
Tailwind
colors: {
  custom: {
    50: '#8695c7',
    500: '#4e6caf',
    950: '#000000',
  },
}
SCSS
$custom: #4e6caf;
$custom-light: #8695c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6caf",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 175
  },
  "hsl": {
    "h": 221.443,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53952,
    "c": 0.1111,
    "h": 264.7
  },
  "luminance": 0.1544
}

Semantic roles & 50–950 ramp

primary
#4E6CAF
secondary
#C3B596
accent
#AA5ACE
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E6CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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