#4F61CB#4F61CB

#4F61CB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.164 H 272.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4F61CB
RGBrgb(79, 97, 203)
HSLhsl(231, 54%, 55%)
HSVhsv(231, 61%, 80%)
CMYKcmyk(61.1%, 52.2%, 0%, 20.4%)
CIE-LABlab(44.97, 25.78, -57.31)
CIE-LCHlch(44.97, 62.84, 294.22°)
OKLaboklab(53.55% 0.0069 -0.1643)
OKLCHoklch(53.55% 0.164 272.4)
XYZxyz(18.2751, 14.5220, 58.3283)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F61CB #CBB94F
analogous
#4F9FCB #4F61CB #7B4FCB
triadic
#4F61CB #CB4F61 #61CB4F
tetradic
#4F61CB #CB4F9F #CBB94F #4FCB7B
square
#4F61CB #CB4F9F #CBB94F #4FCB7B
split-complementary
#4F61CB #CB7B4F #9FCB4F
monochromatic
#24317B #3244AA #4F61CB #7E8BD9 #ADB6E7

Accessibility & contrast

On white

5.38
#4F61CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4F61CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F61CB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F61CB#FFFFFF#000000##FFFFFF
##4F61CB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2170CF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f61cb;
/* rgb */ color: rgb(79, 97, 203);
/* oklch */ color: oklch(53.5% 0.164 272.4);
Tailwind
colors: {
  custom: {
    50: '#8c8ddb',
    500: '#4f61cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f61cb;
$custom-light: #8c8ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f61cb",
  "rgb": {
    "r": 79,
    "g": 97,
    "b": 203
  },
  "hsl": {
    "h": 231.29,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53546,
    "c": 0.1644,
    "h": 272.4
  },
  "luminance": 0.14523
}

Semantic roles & 50–950 ramp

primary
#4F61CB
secondary
#D5CDA1
accent
#C84ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F61CB

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

Preview Lab → · Contrast checker → · Palette generator →

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