#4865AF#4865AF

#4865AF is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.1% C 0.122 H 266.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4865AF
RGBrgb(72, 101, 175)
HSLhsl(223, 42%, 48%)
HSVhsv(223, 59%, 69%)
CMYKcmyk(58.9%, 42.3%, 0%, 31.4%)
CIE-LABlab(43.91, 12.32, -42.77)
CIE-LCHlch(43.91, 44.50, 286.07°)
OKLaboklab(52.08% -0.0082 -0.1216)
OKLCHoklch(52.08% 0.122 266.2)
XYZxyz(15.0614, 13.7790, 42.4150)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865AF #AF9248
analogous
#4898AF #4865AF #5E48AF
triadic
#4865AF #AF4865 #65AF48
tetradic
#4865AF #AF4898 #AF9248 #48AF5E
square
#4865AF #AF4898 #AF9248 #48AF5E
split-complementary
#4865AF #AF5E48 #98AF48
monochromatic
#243358 #364C84 #4865AF #7088C4 #9BACD6

Accessibility & contrast

On white

5.59
#4865AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4865AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865AF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865AF#FFFFFF#000000##FFFFFF
##4865AF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456DB2
Deuteranopia (green-blind)
#3763AD
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4865af;
/* rgb */ color: rgb(72, 101, 175);
/* oklch */ color: oklch(52.1% 0.122 266.2);
Tailwind
colors: {
  custom: {
    50: '#8390c7',
    500: '#4865af',
    950: '#000000',
  },
}
SCSS
$custom: #4865af;
$custom-light: #8390c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4865af",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 175
  },
  "hsl": {
    "h": 223.107,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52075,
    "c": 0.1219,
    "h": 266.2
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#4865AF
secondary
#C2B490
accent
#AF56D2
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4865AF

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

Preview Lab → · Contrast checker → · Palette generator →

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