#4657BA#4657BA

#4657BA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.156 H 272.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4657BA
RGBrgb(70, 87, 186)
HSLhsl(231, 46%, 50%)
HSVhsv(231, 62%, 73%)
CMYKcmyk(62.4%, 53.2%, 0%, 27.1%)
CIE-LABlab(40.67, 24.67, -54.41)
CIE-LCHlch(40.67, 59.74, 294.39°)
OKLaboklab(49.8% 0.0059 -0.1561)
OKLCHoklch(49.8% 0.156 272.2)
XYZxyz(14.7940, 11.6624, 47.9163)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4657BA #BAA946
analogous
#4691BA #4657BA #6F46BA
triadic
#4657BA #BA4657 #57BA46
tetradic
#4657BA #BA4691 #BAA946 #46BA6F
square
#4657BA #BA4691 #BAA946 #46BA6F
split-complementary
#4657BA #BA6F46 #91BA46
monochromatic
#242D61 #35428E #4657BA #737FCB #9FA8DB

Accessibility & contrast

On white

6.30
#4657BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4657BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4657BA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4657BA#FFFFFF#000000##FFFFFF
##4657BA1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1865BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4657ba;
/* rgb */ color: rgb(70, 87, 186);
/* oklch */ color: oklch(49.8% 0.156 272.2);
Tailwind
colors: {
  custom: {
    50: '#8586cf',
    500: '#4657ba',
    950: '#000000',
  },
}
SCSS
$custom: #4657ba;
$custom-light: #8586cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4657ba",
  "rgb": {
    "r": 70,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 231.207,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.498,
    "c": 0.15618,
    "h": 272.2
  },
  "luminance": 0.11664
}

Semantic roles & 50–950 ramp

primary
#4657BA
secondary
#C8C094
accent
#C252D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4657BA

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

Preview Lab → · Contrast checker → · Palette generator →

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