#7262DB#7262DB

#7262DB is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.4% C 0.178 H 285.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7262DB
RGBrgb(114, 98, 219)
HSLhsl(248, 63%, 62%)
HSVhsv(248, 55%, 86%)
CMYKcmyk(47.9%, 55.3%, 0%, 14.1%)
CIE-LABlab(48.79, 37.14, -60.16)
CIE-LCHlch(48.79, 70.70, 301.69°)
OKLaboklab(57.38% 0.0471 -0.1717)
OKLCHoklch(57.38% 0.178 285.3)
XYZxyz(24.0895, 17.4261, 69.0984)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7262DB #CBDB62
analogous
#628FDB #7262DB #AF62DB
triadic
#7262DB #DB7262 #62DB72
tetradic
#7262DB #DB628F #CBDB62 #62DBAF
square
#7262DB #DB628F #CBDB62 #62DBAF
split-complementary
#7262DB #DBAF62 #8FDB62
monochromatic
#34249E #4530D0 #7262DB #9F94E6 #CBC6F2

Accessibility & contrast

On white

4.68
#7262DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7262DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7262DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7262DB#FFFFFF#000000##FFFFFF
##7262DB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1877DF
Deuteranopia (green-blind)
#1170D8
Tritanopia (blue-blind)
#4E7D95
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7262db;
/* rgb */ color: rgb(114, 98, 219);
/* oklch */ color: oklch(57.4% 0.178 285.3);
Tailwind
colors: {
  custom: {
    50: '#a18fe7',
    500: '#7262db',
    950: '#000000',
  },
}
SCSS
$custom: #7262db;
$custom-light: #a18fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7262db",
  "rgb": {
    "r": 114,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 247.934,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57377,
    "c": 0.17807,
    "h": 285.3
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

primary
#7262DB
secondary
#DDE3B6
accent
#CA1BB3
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7262DB

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

Preview Lab → · Contrast checker → · Palette generator →

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