#4E438B#4E438B

#4E438B is a dark, moderate blue. Relative luminance 0.075; OKLCH L 43.1% C 0.115 H 287.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4E438B
RGBrgb(78, 67, 139)
HSLhsl(249, 35%, 40%)
HSVhsv(249, 52%, 55%)
CMYKcmyk(43.9%, 51.8%, 0%, 45.5%)
CIE-LABlab(32.91, 23.68, -38.70)
CIE-LCHlch(32.91, 45.38, 301.46°)
OKLaboklab(43.12% 0.0348 -0.1098)
OKLCHoklch(43.12% 0.115 287.6)
XYZxyz(9.8079, 7.4977, 25.3515)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E438B #808B43
analogous
#435C8B #4E438B #72438B
triadic
#4E438B #8B4E43 #438B4E
tetradic
#4E438B #8B435C #808B43 #438B72
square
#4E438B #8B435C #808B43 #438B72
split-complementary
#4E438B #8B7243 #5C8B43
monochromatic
#201B38 #372F62 #4E438B #685BB0 #8E84C4

Accessibility & contrast

On white

8.40
#4E438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E438B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E438B
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E438B#FFFFFF#000000##FFFFFF
##4E438B1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8E
Deuteranopia (green-blind)
#244C89
Tritanopia (blue-blind)
#3C5260
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e438b;
/* rgb */ color: rgb(78, 67, 139);
/* oklch */ color: oklch(43.1% 0.115 287.6);
Tailwind
colors: {
  custom: {
    50: '#8377ad',
    500: '#4e438b',
    950: '#000000',
  },
}
SCSS
$custom: #4e438b;
$custom-light: #8377ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e438b",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 249.167,
    "s": 34.951,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43124,
    "c": 0.11522,
    "h": 287.6
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#4E438B
secondary
#A7AF7B
accent
#CB5DBA
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E438B

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

Preview Lab → · Contrast checker → · Palette generator →

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