#4E7BCB#4E7BCB

#4E7BCB is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.9% C 0.133 H 261.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4E7BCB
RGBrgb(78, 123, 203)
HSLhsl(218, 55%, 55%)
HSVhsv(218, 62%, 80%)
CMYKcmyk(61.6%, 39.4%, 0%, 20.4%)
CIE-LABlab(51.95, 9.41, -46.15)
CIE-LCHlch(51.95, 47.09, 281.52°)
OKLaboklab(58.86% -0.0205 -0.1312)
OKLCHoklch(58.86% 0.133 261.1)
XYZxyz(21.0006, 20.0955, 59.2605)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BCB #CB9E4E
analogous
#4EB9CB #4E7BCB #5F4ECB
triadic
#4E7BCB #CB4E7B #7BCB4E
tetradic
#4E7BCB #CB4EB9 #CB9E4E #4ECB5F
square
#4E7BCB #CB4EB9 #CB9E4E #4ECB5F
split-complementary
#4E7BCB #CB5F4E #B9CB4E
monochromatic
#24437B #325DAA #4E7BCB #7D9ED9 #ADC2E7

Accessibility & contrast

On white

4.18
#4E7BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4E7BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BCB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BCB#FFFFFF#000000##000000
##4E7BCB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#4777C9
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7bcb;
/* rgb */ color: rgb(78, 123, 203);
/* oklch */ color: oklch(58.9% 0.133 261.1);
Tailwind
colors: {
  custom: {
    50: '#8aa0db',
    500: '#4e7bcb',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bcb;
$custom-light: #8aa0db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bcb",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 203
  },
  "hsl": {
    "h": 218.4,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58863,
    "c": 0.13277,
    "h": 261.1
  },
  "luminance": 0.20097
}

Semantic roles & 50–950 ramp

primary
#4E7BCB
secondary
#D5C2A0
accent
#A94ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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