#4658CD#4658CD

#4658CD is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.181 H 271.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4658CD
RGBrgb(70, 88, 205)
HSLhsl(232, 57%, 54%)
HSVhsv(232, 66%, 80%)
CMYKcmyk(65.9%, 57.1%, 0%, 19.6%)
CIE-LABlab(42.29, 30.64, -62.83)
CIE-LCHlch(42.29, 69.90, 296.00°)
OKLaboklab(51.44% 0.0058 -0.1808)
OKLCHoklch(51.44% 0.181 271.8)
XYZxyz(17.0313, 12.6878, 59.2972)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4658CD #CDBB46
analogous
#469CCD #4658CD #7846CD
triadic
#4658CD #CD4658 #58CD46
tetradic
#4658CD #CD469C #CDBB46 #46CD78
square
#4658CD #CD469C #CDBB46 #46CD78
split-complementary
#4658CD #CD7846 #9CCD46
monochromatic
#202C78 #2D3EA8 #4658CD #7683DA #A6AFE7

Accessibility & contrast

On white

5.94
#4658CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4658CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4658CD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4658CD#FFFFFF#000000##FFFFFF
##4658CD1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4658cd;
/* rgb */ color: rgb(70, 88, 205);
/* oklch */ color: oklch(51.4% 0.181 271.8);
Tailwind
colors: {
  custom: {
    50: '#8887dd',
    500: '#4658cd',
    950: '#000000',
  },
}
SCSS
$custom: #4658cd;
$custom-light: #8887dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4658cd",
  "rgb": {
    "r": 70,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 232,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51439,
    "c": 0.18091,
    "h": 271.8
  },
  "luminance": 0.12689
}

Semantic roles & 50–950 ramp

primary
#4658CD
secondary
#D4CD9B
accent
#CC47E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4658CD

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

Preview Lab → · Contrast checker → · Palette generator →

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