#4657A2#4657A2

#4657A2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.122 H 271.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4657A2
RGBrgb(70, 87, 162)
HSLhsl(229, 40%, 45%)
HSVhsv(229, 57%, 64%)
CMYKcmyk(56.8%, 46.3%, 0%, 36.5%)
CIE-LABlab(39.12, 16.39, -42.74)
CIE-LCHlch(39.12, 45.78, 290.98°)
OKLaboklab(48.12% 0.0033 -0.1218)
OKLCHoklch(48.12% 0.122 271.5)
XYZxyz(12.4534, 10.7262, 35.5895)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4657A2 #A29146
analogous
#4685A2 #4657A2 #6346A2
triadic
#4657A2 #A24657 #57A246
tetradic
#4657A2 #A24685 #A29146 #46A263
square
#4657A2 #A24685 #A29146 #46A263
split-complementary
#4657A2 #A26346 #85A246
monochromatic
#21294D #344077 #4657A2 #6877BE #929ED0

Accessibility & contrast

On white

6.68
#4657A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4657A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4657A2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4657A2#FFFFFF#000000##FFFFFF
##4657A21.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#2958A0
Tritanopia (blue-blind)
#106874
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4657a2;
/* rgb */ color: rgb(70, 87, 162);
/* oklch */ color: oklch(48.1% 0.122 271.5);
Tailwind
colors: {
  custom: {
    50: '#8186be',
    500: '#4657a2',
    950: '#000000',
  },
}
SCSS
$custom: #4657a2;
$custom-light: #8186be;
$custom-dark: #000000;
JSON
{
  "hex": "#4657a2",
  "rgb": {
    "r": 70,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 228.913,
    "s": 39.655,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48119,
    "c": 0.1218,
    "h": 271.5
  },
  "luminance": 0.10727
}

Semantic roles & 50–950 ramp

primary
#4657A2
secondary
#BCB288
accent
#BA58D0
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4657A2

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

Preview Lab → · Contrast checker → · Palette generator →

#4657A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva