#4865CF#4865CF

#4865CF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.2% C 0.167 H 268.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4865CF
RGBrgb(72, 101, 207)
HSLhsl(227, 58%, 55%)
HSVhsv(227, 65%, 81%)
CMYKcmyk(65.2%, 51.2%, 0%, 18.8%)
CIE-LABlab(45.89, 23.44, -58.14)
CIE-LCHlch(45.89, 62.69, 291.95°)
OKLaboklab(54.22% -0.0036 -0.1668)
OKLCHoklch(54.22% 0.167 268.8)
XYZxyz(18.5848, 15.1884, 60.9716)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865CF #CFB248
analogous
#48A9CF #4865CF #6E48CF
triadic
#4865CF #CF4865 #65CF48
tetradic
#4865CF #CF48A9 #CFB248 #48CF6E
square
#4865CF #CF48A9 #CFB248 #48CF6E
split-complementary
#4865CF #CF6E48 #A9CF48
monochromatic
#21347C #2D49AD #4865CF #788EDC #A9B7E8

Accessibility & contrast

On white

5.20
#4865CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4865CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865CF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865CF#FFFFFF#000000##FFFFFF
##4865CF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2673D3
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4865cf;
/* rgb */ color: rgb(72, 101, 207);
/* oklch */ color: oklch(54.2% 0.167 268.8);
Tailwind
colors: {
  custom: {
    50: '#8990de',
    500: '#4865cf',
    950: '#000000',
  },
}
SCSS
$custom: #4865cf;
$custom-light: #8990de;
$custom-dark: #000000;
JSON
{
  "hex": "#4865cf",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 227.111,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5422,
    "c": 0.16686,
    "h": 268.8
  },
  "luminance": 0.1519
}

Semantic roles & 50–950 ramp

primary
#4865CF
secondary
#D6CA9D
accent
#C046E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4865CF

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

Preview Lab → · Contrast checker → · Palette generator →

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