#4657D9#4657D9

#4657D9 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.198 H 271.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4657D9
RGBrgb(70, 87, 217)
HSLhsl(233, 66%, 56%)
HSVhsv(233, 68%, 85%)
CMYKcmyk(67.7%, 59.9%, 0%, 14.9%)
CIE-LABlab(42.95, 35.42, -68.63)
CIE-LCHlch(42.95, 77.23, 297.30°)
OKLaboklab(52.22% 0.0067 -0.1979)
OKLCHoklch(52.22% 0.198 271.9)
XYZxyz(18.4541, 13.1265, 67.1933)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4657D9 #D9C846
analogous
#46A1D9 #4657D9 #7F46D9
triadic
#4657D9 #D94657 #57D946
tetradic
#4657D9 #D946A1 #D9C846 #46D97F
square
#4657D9 #D946A1 #D9C846 #46D97F
split-complementary
#4657D9 #D97F46 #A1D946
monochromatic
#1C2989 #2638BB #4657D9 #7985E3 #ACB3EE

Accessibility & contrast

On white

5.79
#4657D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4657D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4657D9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4657D9#FFFFFF#000000##FFFFFF
##4657D91.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#005FD6
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4657d9;
/* rgb */ color: rgb(70, 87, 217);
/* oklch */ color: oklch(52.2% 0.198 271.9);
Tailwind
colors: {
  custom: {
    50: '#8b86e6',
    500: '#4657d9',
    950: '#000000',
  },
}
SCSS
$custom: #4657d9;
$custom-light: #8b86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4657d9",
  "rgb": {
    "r": 70,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 233.061,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.198,
    "h": 271.9
  },
  "luminance": 0.13128
}

Semantic roles & 50–950 ramp

primary
#4657D9
secondary
#DCD59F
accent
#D53FE9
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4657D9

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

Preview Lab → · Contrast checker → · Palette generator →

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