#7E7CBF#7E7CBF

#7E7CBF is a mid, moderate blue. Relative luminance 0.226; OKLCH L 61.6% C 0.100 H 284.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7E7CBF
RGBrgb(126, 124, 191)
HSLhsl(242, 34%, 62%)
HSVhsv(242, 35%, 75%)
CMYKcmyk(34%, 35.1%, 0%, 25.1%)
CIE-LABlab(54.67, 16.65, -34.80)
CIE-LCHlch(54.67, 38.58, 295.57°)
OKLaboklab(61.56% 0.025 -0.0972)
OKLCHoklch(61.56% 0.1 284.4)
XYZxyz(25.2132, 22.6118, 52.3162)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7CBF #BDBF7C
analogous
#7C9CBF #7E7CBF #A07CBF
triadic
#7E7CBF #BF7E7C #7CBF7E
tetradic
#7E7CBF #BF7C9C #BDBF7C #7CBFA0
square
#7E7CBF #BF7C9C #BDBF7C #7CBFA0
split-complementary
#7E7CBF #BFA07C #9CBF7C
monochromatic
#413F81 #5653AB #7E7CBF #A6A5D3 #CFCEE7

Accessibility & contrast

On white

3.80
#7E7CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#7E7CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7CBF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7CBF#FFFFFF#000000##000000
##7E7CBF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6885C2
Deuteranopia (green-blind)
#6581BD
Tritanopia (blue-blind)
#6D8895
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e7cbf;
/* rgb */ color: rgb(126, 124, 191);
/* oklch */ color: oklch(61.6% 0.100 284.4);
Tailwind
colors: {
  custom: {
    50: '#a5a1d2',
    500: '#7e7cbf',
    950: '#000000',
  },
}
SCSS
$custom: #7e7cbf;
$custom-light: #a5a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7cbf",
  "rgb": {
    "r": 126,
    "g": 124,
    "b": 191
  },
  "hsl": {
    "h": 241.791,
    "s": 34.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61559,
    "c": 0.10037,
    "h": 284.4
  },
  "luminance": 0.22613
}

Semantic roles & 50–950 ramp

primary
#7E7CBF
secondary
#D7D8BF
accent
#AD38AA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0F14
muted
#7F7E82

Preview Lab

Preview with #7E7CBF

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

Preview Lab → · Contrast checker → · Palette generator →

#7E7CBF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva