#4D61CF#4D61CF

#4D61CF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.170 H 271.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4D61CF
RGBrgb(77, 97, 207)
HSLhsl(231, 58%, 56%)
HSVhsv(231, 63%, 81%)
CMYKcmyk(62.8%, 53.1%, 0%, 18.8%)
CIE-LABlab(45.12, 26.79, -59.37)
CIE-LCHlch(45.12, 65.13, 294.29°)
OKLaboklab(53.72% 0.0051 -0.1704)
OKLCHoklch(53.72% 0.17 271.7)
XYZxyz(18.5940, 14.6306, 60.8635)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D61CF #CFBB4D
analogous
#4DA2CF #4D61CF #7A4DCF
triadic
#4D61CF #CF4D61 #61CF4D
tetradic
#4D61CF #CF4DA2 #CFBB4D #4DCF7A
square
#4D61CF #CF4DA2 #CFBB4D #4DCF7A
split-complementary
#4D61CF #CF7A4D #A2CF4D
monochromatic
#22317F #2F43AF #4D61CF #7D8CDC #ADB7E9

Accessibility & contrast

On white

5.35
#4D61CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4D61CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D61CF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D61CF#FFFFFF#000000##FFFFFF
##4D61CF1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1871D3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#007B8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d61cf;
/* rgb */ color: rgb(77, 97, 207);
/* oklch */ color: oklch(53.7% 0.170 271.7);
Tailwind
colors: {
  custom: {
    50: '#8b8dde',
    500: '#4d61cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d61cf;
$custom-light: #8b8dde;
$custom-dark: #000000;
JSON
{
  "hex": "#4d61cf",
  "rgb": {
    "r": 77,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 230.769,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.17044,
    "h": 271.7
  },
  "luminance": 0.14632
}

Semantic roles & 50–950 ramp

primary
#4D61CF
secondary
#D7CFA1
accent
#C947E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D61CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4D61CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva