#4658CB#4658CB

#4658CB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.178 H 271.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4658CB
RGBrgb(70, 88, 203)
HSLhsl(232, 56%, 54%)
HSVhsv(232, 66%, 80%)
CMYKcmyk(65.5%, 56.7%, 0%, 20.4%)
CIE-LABlab(42.14, 29.95, -61.91)
CIE-LCHlch(42.14, 68.78, 295.81°)
OKLaboklab(51.28% 0.0058 -0.1781)
OKLCHoklch(51.28% 0.178 271.9)
XYZxyz(16.7914, 12.5918, 58.0339)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4658CB #CBB946
analogous
#469ACB #4658CB #7646CB
triadic
#4658CB #CB4658 #58CB46
tetradic
#4658CB #CB469A #CBB946 #46CB76
square
#4658CB #CB469A #CBB946 #46CB76
split-complementary
#4658CB #CB7646 #9ACB46
monochromatic
#212C76 #2E3FA5 #4658CB #7683D8 #A6AEE6

Accessibility & contrast

On white

5.97
#4658CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4658CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4658CB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4658CB#FFFFFF#000000##FFFFFF
##4658CB1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4658cb;
/* rgb */ color: rgb(70, 88, 203);
/* oklch */ color: oklch(51.3% 0.178 271.9);
Tailwind
colors: {
  custom: {
    50: '#8887dc',
    500: '#4658cb',
    950: '#000000',
  },
}
SCSS
$custom: #4658cb;
$custom-light: #8887dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4658cb",
  "rgb": {
    "r": 70,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 231.88,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51283,
    "c": 0.17822,
    "h": 271.9
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

primary
#4658CB
secondary
#D3CB9A
accent
#CB48DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4658CB

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

Preview Lab → · Contrast checker → · Palette generator →

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