#4E59CF#4E59CF

#4E59CF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.3% C 0.180 H 274.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4E59CF
RGBrgb(78, 89, 207)
HSLhsl(235, 57%, 56%)
HSVhsv(235, 62%, 81%)
CMYKcmyk(62.3%, 57%, 0%, 18.8%)
CIE-LABlab(43.16, 31.97, -62.54)
CIE-LCHlch(43.16, 70.23, 297.08°)
OKLaboklab(52.26% 0.0135 -0.1798)
OKLCHoklch(52.26% 0.18 274.3)
XYZxyz(17.9730, 13.2680, 60.6332)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59CF #CFC44E
analogous
#4E99CF #4E59CF #834ECF
triadic
#4E59CF #CF4E59 #59CF4E
tetradic
#4E59CF #CF4E99 #CFC44E #4ECF83
square
#4E59CF #CF4E99 #CFC44E #4ECF83
split-complementary
#4E59CF #CF834E #99CF4E
monochromatic
#232B80 #303BB0 #4E59CF #7E86DC #AEB3E9

Accessibility & contrast

On white

5.75
#4E59CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4E59CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59CF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59CF#FFFFFF#000000##FFFFFF
##4E59CF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e59cf;
/* rgb */ color: rgb(78, 89, 207);
/* oklch */ color: oklch(52.3% 0.180 274.3);
Tailwind
colors: {
  custom: {
    50: '#8c87de',
    500: '#4e59cf',
    950: '#000000',
  },
}
SCSS
$custom: #4e59cf;
$custom-light: #8c87de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59cf",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 234.884,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52264,
    "c": 0.18027,
    "h": 274.3
  },
  "luminance": 0.13269
}

Semantic roles & 50–950 ramp

primary
#4E59CF
secondary
#D7D3A2
accent
#D447E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E59CF

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

Preview Lab → · Contrast checker → · Palette generator →

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