#4F54C8#4F54C8

#4F54C8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.177 H 276.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4F54C8
RGBrgb(79, 84, 200)
HSLhsl(238, 52%, 55%)
HSVhsv(238, 61%, 78%)
CMYKcmyk(60.5%, 58%, 0%, 21.6%)
CIE-LABlab(41.49, 32.90, -61.22)
CIE-LCHlch(41.49, 69.50, 298.26°)
OKLaboklab(50.87% 0.0192 -0.1759)
OKLCHoklch(50.87% 0.177 276.2)
XYZxyz(16.8167, 12.1717, 56.0956)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54C8 #C8C34F
analogous
#4F90C8 #4F54C8 #874FC8
triadic
#4F54C8 #C84F54 #54C84F
tetradic
#4F54C8 #C84F90 #C8C34F #4FC887
square
#4F54C8 #C84F90 #C8C34F #4FC887
split-complementary
#4F54C8 #C8874F #90C84F
monochromatic
#252977 #3439A6 #4F54C8 #7E81D7 #ACAFE5

Accessibility & contrast

On white

6.11
#4F54C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4F54C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54C8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54C8#FFFFFF#000000##FFFFFF
##4F54C81.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f54c8;
/* rgb */ color: rgb(79, 84, 200);
/* oklch */ color: oklch(50.9% 0.177 276.2);
Tailwind
colors: {
  custom: {
    50: '#8c84da',
    500: '#4f54c8',
    950: '#000000',
  },
}
SCSS
$custom: #4f54c8;
$custom-light: #8c84da;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54c8",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 237.521,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50874,
    "c": 0.17694,
    "h": 276.2
  },
  "luminance": 0.12173
}

Semantic roles & 50–950 ramp

primary
#4F54C8
secondary
#D3D1A0
accent
#D64CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F54C8

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

Preview Lab → · Contrast checker → · Palette generator →

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