#7262CB#7262CB

#7262CB is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.3% C 0.157 H 287.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7262CB
RGBrgb(114, 98, 203)
HSLhsl(249, 50%, 59%)
HSVhsv(249, 52%, 80%)
CMYKcmyk(43.8%, 51.7%, 0%, 20.4%)
CIE-LABlab(47.78, 32.46, -52.65)
CIE-LCHlch(47.78, 61.85, 301.65°)
OKLaboklab(56.3% 0.0465 -0.1496)
OKLCHoklch(56.3% 0.157 287.2)
XYZxyz(22.0835, 16.6237, 58.5335)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7262CB #BBCB62
analogous
#6287CB #7262CB #A762CB
triadic
#7262CB #CB7262 #62CB72
tetradic
#7262CB #CB6287 #BBCB62 #62CBA7
square
#7262CB #CB6287 #BBCB62 #62CBA7
split-complementary
#7262CB #CBA762 #87CB62
monochromatic
#3A2C86 #4E3CB4 #7262CB #9B90DA #C5BEE9

Accessibility & contrast

On white

4.86
#7262CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7262CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7262CB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7262CB#FFFFFF#000000##FFFFFF
##7262CB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3274CF
Deuteranopia (green-blind)
#316FC9
Tritanopia (blue-blind)
#57788D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7262cb;
/* rgb */ color: rgb(114, 98, 203);
/* oklch */ color: oklch(56.3% 0.157 287.2);
Tailwind
colors: {
  custom: {
    50: '#a08fdb',
    500: '#7262cb',
    950: '#000000',
  },
}
SCSS
$custom: #7262cb;
$custom-light: #a08fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7262cb",
  "rgb": {
    "r": 114,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 249.143,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56302,
    "c": 0.1567,
    "h": 287.2
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#7262CB
secondary
#D3D9B0
accent
#DA4EC4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7262CB

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

Preview Lab → · Contrast checker → · Palette generator →

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