#4F458D#4F458D

#4F458D is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.7% C 0.115 H 287.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4F458D
RGBrgb(79, 69, 141)
HSLhsl(248, 34%, 41%)
HSVhsv(248, 51%, 55%)
CMYKcmyk(44%, 51.1%, 0%, 44.7%)
CIE-LABlab(33.65, 23.28, -38.75)
CIE-LCHlch(33.65, 45.20, 300.99°)
OKLaboklab(43.74% 0.0336 -0.1099)
OKLCHoklch(43.74% 0.115 287)
XYZxyz(10.1589, 7.8412, 26.1724)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F458D #838D45
analogous
#455F8D #4F458D #73458D
triadic
#4F458D #8D4F45 #458D4F
tetradic
#4F458D #8D455F #838D45 #458D73
square
#4F458D #8D455F #838D45 #458D73
split-complementary
#4F458D #8D7345 #5F8D45
monochromatic
#211D3B #383164 #4F458D #6A5FB1 #9088C5

Accessibility & contrast

On white

8.18
#4F458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4F458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F458D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F458D#FFFFFF#000000##FFFFFF
##4F458D1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275190
Deuteranopia (green-blind)
#264D8B
Tritanopia (blue-blind)
#3D5462
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f458d;
/* rgb */ color: rgb(79, 69, 141);
/* oklch */ color: oklch(43.7% 0.115 287.0);
Tailwind
colors: {
  custom: {
    50: '#8479af',
    500: '#4f458d',
    950: '#000000',
  },
}
SCSS
$custom: #4f458d;
$custom-light: #8479af;
$custom-dark: #000000;
JSON
{
  "hex": "#4f458d",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 248.333,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43739,
    "c": 0.11497,
    "h": 287
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#4F458D
secondary
#A9B07E
accent
#CA5DBB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4F458D

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

Preview Lab → · Contrast checker → · Palette generator →

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