#4F45D4#4F45D4

#4F45D4 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.4% C 0.210 H 278.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4F45D4
RGBrgb(79, 69, 212)
HSLhsl(244, 62%, 55%)
HSVhsv(244, 67%, 83%)
CMYKcmyk(62.7%, 67.5%, 0%, 16.9%)
CIE-LABlab(39.02, 45.84, -72.17)
CIE-LCHlch(39.02, 85.49, 302.42°)
OKLaboklab(49.37% 0.0311 -0.2081)
OKLCHoklch(49.37% 0.21 278.5)
XYZxyz(17.2324, 10.6706, 63.4261)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45D4 #CAD445
analogous
#4582D4 #4F45D4 #9745D4
triadic
#4F45D4 #D44F45 #45D44F
tetradic
#4F45D4 #D44582 #CAD445 #45D497
square
#4F45D4 #D44582 #CAD445 #45D497
split-complementary
#4F45D4 #D49745 #82D445
monochromatic
#251E81 #3329B3 #4F45D4 #7E77DF #ADA8EB

Accessibility & contrast

On white

6.70
#4F45D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4F45D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45D4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45D4#FFFFFF#000000##FFFFFF
##4F45D41.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f45d4;
/* rgb */ color: rgb(79, 69, 212);
/* oklch */ color: oklch(49.4% 0.210 278.5);
Tailwind
colors: {
  custom: {
    50: '#8f7ae2',
    500: '#4f45d4',
    950: '#000000',
  },
}
SCSS
$custom: #4f45d4;
$custom-light: #8f7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45d4",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 244.196,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.21042,
    "h": 278.5
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

primary
#4F45D4
secondary
#D4D89C
accent
#E642DA
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F45D4

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

Preview Lab → · Contrast checker → · Palette generator →

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