#4F45AF#4F45AF

#4F45AF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.2% C 0.163 H 282.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4F45AF
RGBrgb(79, 69, 175)
HSLhsl(246, 43%, 48%)
HSVhsv(246, 61%, 69%)
CMYKcmyk(54.9%, 60.6%, 0%, 31.4%)
CIE-LABlab(36.01, 34.02, -55.45)
CIE-LCHlch(36.01, 65.06, 301.53°)
OKLaboklab(46.24% 0.0345 -0.159)
OKLCHoklch(46.24% 0.163 282.2)
XYZxyz(13.0881, 9.0129, 41.5991)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45AF #A5AF45
analogous
#4570AF #4F45AF #8445AF
triadic
#4F45AF #AF4F45 #45AF4F
tetradic
#4F45AF #AF4570 #A5AF45 #45AF84
square
#4F45AF #AF4570 #A5AF45 #45AF84
split-complementary
#4F45AF #AF8445 #70AF45
monochromatic
#272257 #3B3483 #4F45AF #756CC5 #9E98D6

Accessibility & contrast

On white

7.49
#4F45AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4F45AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F45AF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45AF#FFFFFF#000000##FFFFFF
##4F45AF1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#235E73
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f45af;
/* rgb */ color: rgb(79, 69, 175);
/* oklch */ color: oklch(46.2% 0.163 282.2);
Tailwind
colors: {
  custom: {
    50: '#8979c8',
    500: '#4f45af',
    950: '#000000',
  },
}
SCSS
$custom: #4f45af;
$custom-light: #8979c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45af",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 245.66,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46241,
    "c": 0.16274,
    "h": 282.2
  },
  "luminance": 0.09014
}

Semantic roles & 50–950 ramp

primary
#4F45AF
secondary
#BDC28D
accent
#D355C7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4F45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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