#4865BF#4865BF

#4865BF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.1% C 0.145 H 267.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4865BF
RGBrgb(72, 101, 191)
HSLhsl(225, 48%, 52%)
HSVhsv(225, 62%, 75%)
CMYKcmyk(62.3%, 47.1%, 0%, 25.1%)
CIE-LABlab(44.86, 17.85, -50.57)
CIE-LCHlch(44.86, 53.63, 289.44°)
OKLaboklab(53.11% -0.0055 -0.1446)
OKLCHoklch(53.11% 0.145 267.8)
XYZxyz(16.7269, 14.4452, 51.1868)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865BF #BFA248
analogous
#48A1BF #4865BF #6748BF
triadic
#4865BF #BF4865 #65BF48
tetradic
#4865BF #BF48A1 #BFA248 #48BF67
square
#4865BF #BF48A1 #BFA248 #48BF67
split-complementary
#4865BF #BF6748 #A1BF48
monochromatic
#243568 #344C96 #4865BF #758BCF #A3B1DF

Accessibility & contrast

On white

5.40
#4865BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4865BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865BF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865BF#FFFFFF#000000##FFFFFF
##4865BF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3870C2
Deuteranopia (green-blind)
#2365BD
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4865bf;
/* rgb */ color: rgb(72, 101, 191);
/* oklch */ color: oklch(53.1% 0.145 267.8);
Tailwind
colors: {
  custom: {
    50: '#8690d3',
    500: '#4865bf',
    950: '#000000',
  },
}
SCSS
$custom: #4865bf;
$custom-light: #8690d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4865bf",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 191
  },
  "hsl": {
    "h": 225.378,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53111,
    "c": 0.14466,
    "h": 267.8
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

primary
#4865BF
secondary
#CCBF97
accent
#B750D8
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4865BF

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

Preview Lab → · Contrast checker → · Palette generator →

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