#4657D4#4657D4

#4657D4 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.191 H 272.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4657D4
RGBrgb(70, 87, 212)
HSLhsl(233, 62%, 55%)
HSVhsv(233, 67%, 83%)
CMYKcmyk(67%, 59%, 0%, 16.9%)
CIE-LABlab(42.57, 33.69, -66.40)
CIE-LCHlch(42.57, 74.46, 296.90°)
OKLaboklab(51.81% 0.0067 -0.1913)
OKLCHoklch(51.81% 0.191 272)
XYZxyz(17.8137, 12.8703, 63.8200)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4657D4 #D4C346
analogous
#469ED4 #4657D4 #7C46D4
triadic
#4657D4 #D44657 #57D446
tetradic
#4657D4 #D4469E #D4C346 #46D47C
square
#4657D4 #D4469E #D4C346 #46D47C
split-complementary
#4657D4 #D47C46 #9ED446
monochromatic
#1E2A81 #2A3AB3 #4657D4 #7884E0 #A9B1EB

Accessibility & contrast

On white

5.88
#4657D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4657D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4657D4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4657D4#FFFFFF#000000##FFFFFF
##4657D41.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4657d4;
/* rgb */ color: rgb(70, 87, 212);
/* oklch */ color: oklch(51.8% 0.191 272.0);
Tailwind
colors: {
  custom: {
    50: '#8a86e2',
    500: '#4657d4',
    950: '#000000',
  },
}
SCSS
$custom: #4657d4;
$custom-light: #8a86e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4657d4",
  "rgb": {
    "r": 70,
    "g": 87,
    "b": 212
  },
  "hsl": {
    "h": 232.817,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.19145,
    "h": 272
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#4657D4
secondary
#D9D19D
accent
#D242E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4657D4

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

Preview Lab → · Contrast checker → · Palette generator →

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