#4F61DB#4F61DB

#4F61DB is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.7% C 0.186 H 272.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4F61DB
RGBrgb(79, 97, 219)
HSLhsl(232, 66%, 58%)
HSVhsv(232, 64%, 86%)
CMYKcmyk(63.9%, 55.7%, 0%, 14.1%)
CIE-LABlab(46.08, 31.22, -64.67)
CIE-LCHlch(46.08, 71.81, 295.77°)
OKLaboklab(54.72% 0.0077 -0.1859)
OKLCHoklch(54.72% 0.186 272.4)
XYZxyz(20.2811, 15.3244, 68.8932)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F61DB #DBC94F
analogous
#4FA7DB #4F61DB #834FDB
triadic
#4F61DB #DB4F61 #61DB4F
tetradic
#4F61DB #DB4FA7 #DBC94F #4FDB83
square
#4F61DB #DB4FA7 #DBC94F #4FDB83
split-complementary
#4F61DB #DB834F #A7DB4F
monochromatic
#1E2D92 #283CC5 #4F61DB #828FE5 #B5BCF0

Accessibility & contrast

On white

5.17
#4F61DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4F61DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F61DB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F61DB#FFFFFF#000000##FFFFFF
##4F61DB1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f61db;
/* rgb */ color: rgb(79, 97, 219);
/* oklch */ color: oklch(54.7% 0.186 272.4);
Tailwind
colors: {
  custom: {
    50: '#8f8de7',
    500: '#4f61db',
    950: '#000000',
  },
}
SCSS
$custom: #4f61db;
$custom-light: #8f8de7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f61db",
  "rgb": {
    "r": 79,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 232.286,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54724,
    "c": 0.18609,
    "h": 272.4
  },
  "luminance": 0.15326
}

Semantic roles & 50–950 ramp

primary
#4F61DB
secondary
#DFD8A7
accent
#D33FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F61DB

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

Preview Lab → · Contrast checker → · Palette generator →

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