#7581EF#7581EF

#7581EF is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.6% C 0.163 H 276.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7581EF
RGBrgb(117, 129, 239)
HSLhsl(234, 79%, 70%)
HSVhsv(234, 51%, 94%)
CMYKcmyk(51%, 46%, 0%, 6.3%)
CIE-LABlab(57.76, 25.34, -56.97)
CIE-LCHlch(57.76, 62.35, 293.98°)
OKLaboklab(64.56% 0.0175 -0.1621)
OKLCHoklch(64.56% 0.163 276.1)
XYZxyz(30.7614, 25.7125, 84.9867)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7581EF #EFE375
analogous
#75BEEF #7581EF #A675EF
triadic
#7581EF #EF7581 #81EF75
tetradic
#7581EF #EF75BE #EFE375 #75EFA6
square
#7581EF #EF75BE #EFE375 #75EFA6
split-complementary
#7581EF #EFA675 #BEEF75
monochromatic
#182AD1 #3E4FE9 #7581EF #ACB3F5 #E3E5FC

Accessibility & contrast

On white

3.42
#7581EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#7581EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7581EF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7581EF#FFFFFF#000000##000000
##7581EF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#4486ED
Tritanopia (blue-blind)
#4199AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7581ef;
/* rgb */ color: rgb(117, 129, 239);
/* oklch */ color: oklch(64.6% 0.163 276.1);
Tailwind
colors: {
  custom: {
    50: '#a4a5f5',
    500: '#7581ef',
    950: '#000000',
  },
}
SCSS
$custom: #7581ef;
$custom-light: #a4a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7581ef",
  "rgb": {
    "r": 117,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 234.098,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64557,
    "c": 0.163,
    "h": 276.1
  },
  "luminance": 0.25714
}

Semantic roles & 50–950 ramp

primary
#7581EF
secondary
#F1EECF
accent
#C70ADC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7581EF

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

Preview Lab → · Contrast checker → · Palette generator →

#7581EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva