#4E7DCB#4E7DCB

#4E7DCB is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.3% C 0.131 H 260.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4E7DCB
RGBrgb(78, 125, 203)
HSLhsl(217, 55%, 55%)
HSVhsv(217, 62%, 80%)
CMYKcmyk(61.6%, 38.4%, 0%, 20.4%)
CIE-LABlab(52.51, 8.19, -45.26)
CIE-LCHlch(52.51, 45.99, 280.26°)
OKLaboklab(59.3% -0.0226 -0.1285)
OKLCHoklch(59.3% 0.131 260)
XYZxyz(21.2512, 20.5968, 59.3440)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DCB #CB9C4E
analogous
#4EBBCB #4E7DCB #5D4ECB
triadic
#4E7DCB #CB4E7D #7DCB4E
tetradic
#4E7DCB #CB4EBB #CB9C4E #4ECB5D
square
#4E7DCB #CB4EBB #CB9C4E #4ECB5D
split-complementary
#4E7DCB #CB5D4E #BBCB4E
monochromatic
#24457B #325FAA #4E7DCB #7DA0D9 #ADC2E7

Accessibility & contrast

On white

4.10
#4E7DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4E7DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DCB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DCB#FFFFFF#000000##000000
##4E7DCB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CE
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7dcb;
/* rgb */ color: rgb(78, 125, 203);
/* oklch */ color: oklch(59.3% 0.131 260.0);
Tailwind
colors: {
  custom: {
    50: '#8aa2db',
    500: '#4e7dcb',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dcb;
$custom-light: #8aa2db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dcb",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 217.44,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59297,
    "c": 0.13052,
    "h": 260
  },
  "luminance": 0.20599
}

Semantic roles & 50–950 ramp

primary
#4E7DCB
secondary
#D5C1A0
accent
#A64ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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