#4861CF#4861CF

#4861CF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.4% C 0.172 H 270.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4861CF
RGBrgb(72, 97, 207)
HSLhsl(229, 58%, 55%)
HSVhsv(229, 65%, 81%)
CMYKcmyk(65.2%, 53.1%, 0%, 18.8%)
CIE-LABlab(44.84, 25.96, -59.83)
CIE-LCHlch(44.84, 65.22, 293.46°)
OKLaboklab(53.43% 0 -0.1718)
OKLCHoklch(53.43% 0.172 270)
XYZxyz(18.2058, 14.4304, 60.8453)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4861CF #CFB648
analogous
#48A5CF #4861CF #7348CF
triadic
#4861CF #CF4861 #61CF48
tetradic
#4861CF #CF48A5 #CFB648 #48CF73
square
#4861CF #CF48A5 #CFB648 #48CF73
split-complementary
#4861CF #CF7348 #A5CF48
monochromatic
#21317C #2D45AD #4861CF #788BDC #A9B5E8

Accessibility & contrast

On white

5.40
#4861CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4861CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4861CF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4861CF#FFFFFF#000000##FFFFFF
##4861CF1.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)
#1670D3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4861cf;
/* rgb */ color: rgb(72, 97, 207);
/* oklch */ color: oklch(53.4% 0.172 270.0);
Tailwind
colors: {
  custom: {
    50: '#898dde',
    500: '#4861cf',
    950: '#000000',
  },
}
SCSS
$custom: #4861cf;
$custom-light: #898dde;
$custom-dark: #000000;
JSON
{
  "hex": "#4861cf",
  "rgb": {
    "r": 72,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 228.889,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53429,
    "c": 0.17185,
    "h": 270
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#4861CF
secondary
#D6CB9D
accent
#C546E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4861CF

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

Preview Lab → · Contrast checker → · Palette generator →

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