#4865E9#4865E9

#4865E9 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.2% C 0.202 H 269.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4865E9
RGBrgb(72, 101, 233)
HSLhsl(229, 79%, 60%)
HSVhsv(229, 69%, 91%)
CMYKcmyk(69.1%, 56.7%, 0%, 8.6%)
CIE-LABlab(47.71, 32.52, -69.96)
CIE-LCHlch(47.71, 77.15, 294.93°)
OKLaboklab(56.16% -0.0021 -0.2016)
OKLCHoklch(56.16% 0.202 269.4)
XYZxyz(22.0291, 16.5661, 79.1116)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865E9 #E9CC48
analogous
#48B5E9 #4865E9 #7C48E9
triadic
#4865E9 #E94865 #65E948
tetradic
#4865E9 #E948B5 #E9CC48 #48E97C
square
#4865E9 #E948B5 #E9CC48 #48E97C
split-complementary
#4865E9 #E97C48 #B5E948
monochromatic
#142DA3 #1A3DDA #4865E9 #7F93F0 #B5C1F6

Accessibility & contrast

On white

4.87
#4865E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4865E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865E9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865E9#FFFFFF#000000##FFFFFF
##4865E91.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4865e9;
/* rgb */ color: rgb(72, 101, 233);
/* oklch */ color: oklch(56.2% 0.202 269.4);
Tailwind
colors: {
  custom: {
    50: '#8e90f1',
    500: '#4865e9',
    950: '#000000',
  },
}
SCSS
$custom: #4865e9;
$custom-light: #8e90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4865e9",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 233
  },
  "hsl": {
    "h": 229.193,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56163,
    "c": 0.20159,
    "h": 269.4
  },
  "luminance": 0.16568
}

Semantic roles & 50–950 ramp

primary
#4865E9
secondary
#E6DAA7
accent
#D233F5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4865E9

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

Preview Lab → · Contrast checker → · Palette generator →

#4865E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva