#4E6295#4E6295

#4E6295 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.3% C 0.085 H 267.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4E6295
RGBrgb(78, 98, 149)
HSLhsl(223, 31%, 45%)
HSVhsv(223, 48%, 58%)
CMYKcmyk(47.7%, 34.2%, 0%, 41.6%)
CIE-LABlab(42.04, 7.01, -30.31)
CIE-LCHlch(42.04, 31.11, 283.02°)
OKLaboklab(50.27% -0.0044 -0.0852)
OKLCHoklch(50.27% 0.085 267)
XYZxyz(12.9326, 12.5242, 30.1639)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6295 #95814E
analogous
#4E8695 #4E6295 #5E4E95
triadic
#4E6295 #954E62 #62954E
tetradic
#4E6295 #954E86 #95814E #4E955E
square
#4E6295 #954E86 #95814E #4E955E
split-complementary
#4E6295 #955E4E #86954E
monochromatic
#242D45 #39486D #4E6295 #6D81B3 #96A4C8

Accessibility & contrast

On white

5.99
#4E6295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4E6295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6295
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6295#FFFFFF#000000##FFFFFF
##4E62951.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6797
Deuteranopia (green-blind)
#486094
Tritanopia (blue-blind)
#336D74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e6295;
/* rgb */ color: rgb(78, 98, 149);
/* oklch */ color: oklch(50.3% 0.085 267.0);
Tailwind
colors: {
  custom: {
    50: '#838eb4',
    500: '#4e6295',
    950: '#000000',
  },
}
SCSS
$custom: #4e6295;
$custom-light: #838eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6295",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 149
  },
  "hsl": {
    "h": 223.099,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50269,
    "c": 0.0853,
    "h": 267
  },
  "luminance": 0.12525
}

Semantic roles & 50–950 ramp

primary
#4E6295
secondary
#B4A98A
accent
#AA60C7
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4E6295

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

Preview Lab → · Contrast checker → · Palette generator →

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