#4D61DB#4D61DB

#4D61DB is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.6% C 0.187 H 271.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4D61DB
RGBrgb(77, 97, 219)
HSLhsl(232, 66%, 58%)
HSVhsv(232, 65%, 86%)
CMYKcmyk(64.8%, 55.7%, 0%, 14.1%)
CIE-LABlab(45.96, 30.90, -64.86)
CIE-LCHlch(45.96, 71.85, 295.47°)
OKLaboklab(54.61% 0.0057 -0.1865)
OKLCHoklch(54.61% 0.187 271.7)
XYZxyz(20.1172, 15.2398, 68.8855)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D61DB #DBC74D
analogous
#4DA8DB #4D61DB #804DDB
triadic
#4D61DB #DB4D61 #61DB4D
tetradic
#4D61DB #DB4DA8 #DBC74D #4DDB80
square
#4D61DB #DB4DA8 #DBC74D #4DDB80
split-complementary
#4D61DB #DB804D #A8DB4D
monochromatic
#1D2D90 #273DC3 #4D61DB #808EE5 #B3BBF0

Accessibility & contrast

On white

5.19
#4D61DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4D61DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D61DB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D61DB#FFFFFF#000000##FFFFFF
##4D61DB1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#007E94
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d61db;
/* rgb */ color: rgb(77, 97, 219);
/* oklch */ color: oklch(54.6% 0.187 271.7);
Tailwind
colors: {
  custom: {
    50: '#8e8de7',
    500: '#4d61db',
    950: '#000000',
  },
}
SCSS
$custom: #4d61db;
$custom-light: #8e8de7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d61db",
  "rgb": {
    "r": 77,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 231.549,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.18663,
    "h": 271.7
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

primary
#4D61DB
secondary
#DED6A6
accent
#D13FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4D61DB

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

Preview Lab → · Contrast checker → · Palette generator →

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