#4642CB#4642CB

#4642CB is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.5% C 0.204 H 276.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4642CB
RGBrgb(70, 66, 203)
HSLhsl(242, 57%, 53%)
HSVhsv(242, 67%, 80%)
CMYKcmyk(65.5%, 67.5%, 0%, 20.4%)
CIE-LABlab(36.95, 43.48, -70.39)
CIE-LCHlch(36.95, 82.74, 301.70°)
OKLaboklab(47.46% 0.0232 -0.2032)
OKLCHoklch(47.46% 0.204 276.5)
XYZxyz(15.2500, 9.5090, 57.5201)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642CB #C7CB42
analogous
#4282CB #4642CB #8B42CB
triadic
#4642CB #CB4642 #42CB46
tetradic
#4642CB #CB4282 #C7CB42 #42CB8B
square
#4642CB #CB4282 #C7CB42 #42CB8B
split-complementary
#4642CB #CB8B42 #82CB42
monochromatic
#222073 #302DA3 #4642CB #7572D8 #A4A2E5

Accessibility & contrast

On white

7.24
#4642CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4642CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4642CB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642CB#FFFFFF#000000##FFFFFF
##4642CB1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4642cb;
/* rgb */ color: rgb(70, 66, 203);
/* oklch */ color: oklch(47.5% 0.204 276.5);
Tailwind
colors: {
  custom: {
    50: '#8a77dc',
    500: '#4642cb',
    950: '#000000',
  },
}
SCSS
$custom: #4642cb;
$custom-light: #8a77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4642cb",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 241.752,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47464,
    "c": 0.20448,
    "h": 276.5
  },
  "luminance": 0.0951
}

Semantic roles & 50–950 ramp

primary
#4642CB
secondary
#D0D297
accent
#E048DC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4642CB

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

Preview Lab → · Contrast checker → · Palette generator →

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