#4F45CB#4F45CB

#4F45CB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.6% C 0.199 H 279.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4F45CB
RGBrgb(79, 69, 203)
HSLhsl(244, 56%, 53%)
HSVhsv(244, 66%, 80%)
CMYKcmyk(61.1%, 66%, 0%, 20.4%)
CIE-LABlab(38.25, 42.98, -68.23)
CIE-LCHlch(38.25, 80.64, 302.21°)
OKLaboklab(48.58% 0.0322 -0.1966)
OKLCHoklch(48.58% 0.199 279.3)
XYZxyz(16.1286, 10.2291, 57.6128)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45CB #C1CB45
analogous
#457ECB #4F45CB #9245CB
triadic
#4F45CB #CB4F45 #45CB4F
tetradic
#4F45CB #CB457E #C1CB45 #45CB92
square
#4F45CB #CB457E #C1CB45 #45CB92
split-complementary
#4F45CB #CB9245 #7ECB45
monochromatic
#272175 #372EA5 #4F45CB #7C75D8 #AAA5E6

Accessibility & contrast

On white

6.89
#4F45CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4F45CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45CB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45CB#FFFFFF#000000##FFFFFF
##4F45CB1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f45cb;
/* rgb */ color: rgb(79, 69, 203);
/* oklch */ color: oklch(48.6% 0.199 279.3);
Tailwind
colors: {
  custom: {
    50: '#8e7adc',
    500: '#4f45cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f45cb;
$custom-light: #8e7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45cb",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 244.478,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48575,
    "c": 0.1992,
    "h": 279.3
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#4F45CB
secondary
#CED399
accent
#E048D4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4F45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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