#7581F2#7581F2

#7581F2 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.7% C 0.167 H 276.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7581F2
RGBrgb(117, 129, 242)
HSLhsl(234, 83%, 70%)
HSVhsv(234, 52%, 95%)
CMYKcmyk(51.7%, 46.7%, 0%, 5.1%)
CIE-LABlab(57.93, 26.26, -58.36)
CIE-LCHlch(57.93, 63.99, 294.23°)
OKLaboklab(64.74% 0.0178 -0.1661)
OKLCHoklch(64.74% 0.167 276.1)
XYZxyz(31.2083, 25.8913, 87.3402)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7581F2 #F2E675
analogous
#75BFF2 #7581F2 #A775F2
triadic
#7581F2 #F27581 #81F275
tetradic
#7581F2 #F275BF #F2E675 #75F2A7
square
#7581F2 #F275BF #F2E675 #75F2A7
split-complementary
#7581F2 #F2A775 #BFF275
monochromatic
#1427D8 #3D4EED #7581F2 #ADB4F7 #E3E5FC

Accessibility & contrast

On white

3.40
#7581F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#7581F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7581F2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7581F2#FFFFFF#000000##000000
##7581F21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E91F6
Deuteranopia (green-blind)
#4086F0
Tritanopia (blue-blind)
#3E9AAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7581f2;
/* rgb */ color: rgb(117, 129, 242);
/* oklch */ color: oklch(64.7% 0.167 276.1);
Tailwind
colors: {
  custom: {
    50: '#a4a5f7',
    500: '#7581f2',
    950: '#000000',
  },
}
SCSS
$custom: #7581f2;
$custom-light: #a4a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7581f2",
  "rgb": {
    "r": 117,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 234.24,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64742,
    "c": 0.16709,
    "h": 276.1
  },
  "luminance": 0.25893
}

Semantic roles & 50–950 ramp

primary
#7581F2
secondary
#F3EFD0
accent
#CA06DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7581F2

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

Preview Lab → · Contrast checker → · Palette generator →

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