#4658BA#4658BA

#4658BA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.155 H 271.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4658BA
RGBrgb(70, 88, 186)
HSLhsl(231, 46%, 50%)
HSVhsv(231, 62%, 73%)
CMYKcmyk(62.4%, 52.7%, 0%, 27.1%)
CIE-LABlab(40.94, 24.03, -53.99)
CIE-LCHlch(40.94, 59.09, 294.00°)
OKLaboklab(50% 0.0049 -0.1548)
OKLCHoklch(50% 0.155 271.8)
XYZxyz(14.8755, 11.8255, 47.9435)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4658BA #BAA846
analogous
#4692BA #4658BA #6E46BA
triadic
#4658BA #BA4658 #58BA46
tetradic
#4658BA #BA4692 #BAA846 #46BA6E
square
#4658BA #BA4692 #BAA846 #46BA6E
split-complementary
#4658BA #BA6E46 #92BA46
monochromatic
#242E61 #35438E #4658BA #7380CB #9FA8DB

Accessibility & contrast

On white

6.24
#4658BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4658BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4658BA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4658BA#FFFFFF#000000##FFFFFF
##4658BA1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4658ba;
/* rgb */ color: rgb(70, 88, 186);
/* oklch */ color: oklch(50.0% 0.155 271.8);
Tailwind
colors: {
  custom: {
    50: '#8586cf',
    500: '#4658ba',
    950: '#000000',
  },
}
SCSS
$custom: #4658ba;
$custom-light: #8586cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4658ba",
  "rgb": {
    "r": 70,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 230.69,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49998,
    "c": 0.15489,
    "h": 271.8
  },
  "luminance": 0.11827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4658BA

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

Preview Lab → · Contrast checker → · Palette generator →

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