#4A6795#4A6795

#4A6795 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.1% C 0.081 H 259.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4A6795
RGBrgb(74, 103, 149)
HSLhsl(217, 34%, 44%)
HSVhsv(217, 50%, 58%)
CMYKcmyk(50.3%, 30.9%, 0%, 41.6%)
CIE-LABlab(43.25, 2.87, -28.43)
CIE-LCHlch(43.25, 28.58, 275.76°)
OKLaboklab(51.15% -0.015 -0.0798)
OKLCHoklch(51.15% 0.081 259.4)
XYZxyz(13.0973, 13.3254, 30.3098)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6795 #95784A
analogous
#4A8C95 #4A6795 #524A95
triadic
#4A6795 #954A67 #67954A
tetradic
#4A6795 #954A8C #95784A #4A9552
square
#4A6795 #954A8C #95784A #4A9552
split-complementary
#4A6795 #95524A #8C954A
monochromatic
#212E43 #364B6C #4A6795 #6885B4 #91A6C8

Accessibility & contrast

On white

5.73
#4A6795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4A6795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6795
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6795#FFFFFF#000000##FFFFFF
##4A67951.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556A97
Deuteranopia (green-blind)
#4D6394
Tritanopia (blue-blind)
#297177
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a6795;
/* rgb */ color: rgb(74, 103, 149);
/* oklch */ color: oklch(51.1% 0.081 259.4);
Tailwind
colors: {
  custom: {
    50: '#8192b4',
    500: '#4a6795',
    950: '#000000',
  },
}
SCSS
$custom: #4a6795;
$custom-light: #8192b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6795",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 149
  },
  "hsl": {
    "h": 216.8,
    "s": 33.632,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51147,
    "c": 0.08119,
    "h": 259.4
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#4A6795
secondary
#B4A386
accent
#A05ECA
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4A6795

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

Preview Lab → · Contrast checker → · Palette generator →

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