#4E7198#4E7198

#4E7198 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.9% C 0.074 H 251.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4E7198
RGBrgb(78, 113, 152)
HSLhsl(212, 32%, 45%)
HSVhsv(212, 49%, 60%)
CMYKcmyk(48.7%, 25.7%, 0%, 40.4%)
CIE-LABlab(46.57, -1.25, -25.02)
CIE-LCHlch(46.57, 25.05, 267.15°)
OKLaboklab(53.86% -0.0229 -0.0699)
OKLCHoklch(53.86% 0.074 251.9)
XYZxyz(14.7126, 15.6959, 31.9540)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7198 #98754E
analogous
#4E9698 #4E7198 #504E98
triadic
#4E7198 #984E71 #71984E
tetradic
#4E7198 #984E96 #98754E #4E9850
square
#4E7198 #984E96 #98754E #4E9850
split-complementary
#4E7198 #98504E #96984E
monochromatic
#243547 #395370 #4E7198 #6E90B5 #97AFCA

Accessibility & contrast

On white

5.07
#4E7198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4E7198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7198
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7198#FFFFFF#000000##FFFFFF
##4E71981.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62729A
Deuteranopia (green-blind)
#586B97
Tritanopia (blue-blind)
#2E7A7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7198;
/* rgb */ color: rgb(78, 113, 152);
/* oklch */ color: oklch(53.9% 0.074 251.9);
Tailwind
colors: {
  custom: {
    50: '#8499b6',
    500: '#4e7198',
    950: '#000000',
  },
}
SCSS
$custom: #4e7198;
$custom-light: #8499b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7198",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 152
  },
  "hsl": {
    "h": 211.622,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53856,
    "c": 0.07352,
    "h": 251.9
  },
  "luminance": 0.15697
}

Semantic roles & 50–950 ramp

primary
#4E7198
secondary
#B6A28C
accent
#975FC8
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0B0E11
muted
#7C7E80

Preview Lab

Preview with #4E7198

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

Preview Lab → · Contrast checker → · Palette generator →

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