#4E6DBA#4E6DBA

#4E6DBA is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.8% C 0.126 H 265.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E6DBA
RGBrgb(78, 109, 186)
HSLhsl(223, 44%, 52%)
HSVhsv(223, 58%, 73%)
CMYKcmyk(58.1%, 41.4%, 0%, 27.1%)
CIE-LABlab(47.11, 12.28, -44.08)
CIE-LCHlch(47.11, 45.75, 285.57°)
OKLaboklab(54.82% -0.009 -0.1253)
OKLCHoklch(54.82% 0.126 265.9)
XYZxyz(17.4704, 16.1007, 48.6320)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6DBA #BA9B4E
analogous
#4EA3BA #4E6DBA #654EBA
triadic
#4E6DBA #BA4E6D #6DBA4E
tetradic
#4E6DBA #BA4EA3 #BA9B4E #4EBA65
square
#4E6DBA #BA4EA3 #BA9B4E #4EBA65
split-complementary
#4E6DBA #BA654E #A3BA4E
monochromatic
#283A66 #395292 #4E6DBA #7A91CB #A6B6DC

Accessibility & contrast

On white

4.98
#4E6DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4E6DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6DBA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6DBA#FFFFFF#000000##FFFFFF
##4E6DBA1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BD
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e6dba;
/* rgb */ color: rgb(78, 109, 186);
/* oklch */ color: oklch(54.8% 0.126 265.9);
Tailwind
colors: {
  custom: {
    50: '#8896cf',
    500: '#4e6dba',
    950: '#000000',
  },
}
SCSS
$custom: #4e6dba;
$custom-light: #8896cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6dba",
  "rgb": {
    "r": 78,
    "g": 109,
    "b": 186
  },
  "hsl": {
    "h": 222.778,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.12559,
    "h": 265.9
  },
  "luminance": 0.16102
}

Semantic roles & 50–950 ramp

primary
#4E6DBA
secondary
#CABC9A
accent
#AF54D4
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4E6DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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