#7A7ECB#7A7ECB

#7A7ECB is a light, moderate blue. Relative luminance 0.234; OKLCH L 62.3% C 0.115 H 280.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7A7ECB
RGBrgb(122, 126, 203)
HSLhsl(237, 44%, 64%)
HSVhsv(237, 40%, 80%)
CMYKcmyk(39.9%, 37.9%, 0%, 20.4%)
CIE-LABlab(55.45, 17.69, -40.43)
CIE-LCHlch(55.45, 44.13, 293.63°)
OKLaboklab(62.27% 0.0205 -0.1136)
OKLCHoklch(62.27% 0.115 280.2)
XYZxyz(26.2633, 23.3700, 59.6154)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7ECB #CBC77A
analogous
#7AA6CB #7A7ECB #9E7ACB
triadic
#7A7ECB #CB7A7E #7ECB7A
tetradic
#7A7ECB #CB7AA6 #CBC77A #7ACB9E
square
#7A7ECB #CB7AA6 #CBC77A #7ACB9E
split-complementary
#7A7ECB #CB9E7A #A6CB7A
monochromatic
#393D92 #4E53BA #7A7ECB #A6A9DC #D2D3ED

Accessibility & contrast

On white

3.70
#7A7ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#7A7ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7ECB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7ECB#FFFFFF#000000##000000
##7A7ECB1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CE
Deuteranopia (green-blind)
#5F82C9
Tritanopia (blue-blind)
#628D9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a7ecb;
/* rgb */ color: rgb(122, 126, 203);
/* oklch */ color: oklch(62.3% 0.115 280.2);
Tailwind
colors: {
  custom: {
    50: '#a4a3db',
    500: '#7a7ecb',
    950: '#000000',
  },
}
SCSS
$custom: #7a7ecb;
$custom-light: #a4a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7ecb",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 237.037,
    "s": 43.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62267,
    "c": 0.11543,
    "h": 280.2
  },
  "luminance": 0.23371
}

Semantic roles & 50–950 ramp

primary
#7A7ECB
secondary
#DFDDC2
accent
#B02FB7
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7A7ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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