#7262DC#7262DC

#7262DC is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.4% C 0.179 H 285.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7262DC
RGBrgb(114, 98, 220)
HSLhsl(248, 64%, 62%)
HSVhsv(248, 55%, 86%)
CMYKcmyk(48.2%, 55.5%, 0%, 13.7%)
CIE-LABlab(48.86, 37.44, -60.62)
CIE-LCHlch(48.86, 71.25, 301.70°)
OKLaboklab(57.45% 0.0471 -0.1731)
OKLCHoklch(57.45% 0.179 285.2)
XYZxyz(24.2216, 17.4789, 69.7938)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7262DC #CCDC62
analogous
#628FDC #7262DC #AF62DC
triadic
#7262DC #DC7262 #62DC72
tetradic
#7262DC #DC628F #CCDC62 #62DCAF
square
#7262DC #DC628F #CCDC62 #62DCAF
split-complementary
#7262DC #DCAF62 #8FDC62
monochromatic
#3424A0 #4530D1 #7262DC #9F94E7 #CCC6F2

Accessibility & contrast

On white

4.67
#7262DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7262DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7262DC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7262DC#FFFFFF#000000##FFFFFF
##7262DC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1578E0
Deuteranopia (green-blind)
#0C70D9
Tritanopia (blue-blind)
#4D7D95
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7262dc;
/* rgb */ color: rgb(114, 98, 220);
/* oklch */ color: oklch(57.4% 0.179 285.2);
Tailwind
colors: {
  custom: {
    50: '#a28fe8',
    500: '#7262dc',
    950: '#000000',
  },
}
SCSS
$custom: #7262dc;
$custom-light: #a28fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7262dc",
  "rgb": {
    "r": 114,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 247.869,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57447,
    "c": 0.17938,
    "h": 285.2
  },
  "luminance": 0.1748
}

Semantic roles & 50–950 ramp

primary
#7262DC
secondary
#DDE3B7
accent
#CB1AB4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7262DC

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

Preview Lab → · Contrast checker → · Palette generator →

#7262DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva