#4865CA#4865CA

#4865CA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.9% C 0.160 H 268.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4865CA
RGBrgb(72, 101, 202)
HSLhsl(227, 55%, 54%)
HSVhsv(227, 64%, 79%)
CMYKcmyk(64.4%, 50%, 0%, 20.8%)
CIE-LABlab(45.56, 21.69, -55.80)
CIE-LCHlch(45.56, 59.87, 291.24°)
OKLaboklab(53.87% -0.0041 -0.1599)
OKLCHoklch(53.87% 0.16 268.5)
XYZxyz(17.9832, 14.9477, 57.8032)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865CA #CAAD48
analogous
#48A6CA #4865CA #6C48CA
triadic
#4865CA #CA4865 #65CA48
tetradic
#4865CA #CA48A6 #CAAD48 #48CA6C
square
#4865CA #CA48A6 #CAAD48 #48CA6C
split-complementary
#4865CA #CA6C48 #A6CA48
monochromatic
#223576 #304AA5 #4865CA #778DD8 #A7B5E5

Accessibility & contrast

On white

5.26
#4865CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4865CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865CA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865CA#FFFFFF#000000##FFFFFF
##4865CA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#0466C8
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4865ca;
/* rgb */ color: rgb(72, 101, 202);
/* oklch */ color: oklch(53.9% 0.160 268.5);
Tailwind
colors: {
  custom: {
    50: '#8890db',
    500: '#4865ca',
    950: '#000000',
  },
}
SCSS
$custom: #4865ca;
$custom-light: #8890db;
$custom-dark: #000000;
JSON
{
  "hex": "#4865ca",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 226.615,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53866,
    "c": 0.15998,
    "h": 268.5
  },
  "luminance": 0.14949
}

Semantic roles & 50–950 ramp

primary
#4865CA
secondary
#D3C69B
accent
#BD49DE
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4865CA

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

Preview Lab → · Contrast checker → · Palette generator →

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