#7262CD#7262CD

#7262CD is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.4% C 0.159 H 287.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7262CD
RGBrgb(114, 98, 205)
HSLhsl(249, 52%, 59%)
HSVhsv(249, 52%, 80%)
CMYKcmyk(44.4%, 52.2%, 0%, 19.6%)
CIE-LABlab(47.90, 33.04, -53.60)
CIE-LCHlch(47.90, 62.97, 301.65°)
OKLaboklab(56.43% 0.0466 -0.1524)
OKLCHoklch(56.43% 0.159 287)
XYZxyz(22.3234, 16.7197, 59.7968)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7262CD #BDCD62
analogous
#6288CD #7262CD #A862CD
triadic
#7262CD #CD7262 #62CD72
tetradic
#7262CD #CD6288 #BDCD62 #62CDA8
square
#7262CD #CD6288 #BDCD62 #62CDA8
split-complementary
#7262CD #CDA862 #88CD62
monochromatic
#3A2C89 #4D3AB7 #7262CD #9C90DC #C5BFEB

Accessibility & contrast

On white

4.83
#7262CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7262CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7262CD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7262CD#FFFFFF#000000##FFFFFF
##7262CD1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3074D1
Deuteranopia (green-blind)
#2E6FCB
Tritanopia (blue-blind)
#56798E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7262cd;
/* rgb */ color: rgb(114, 98, 205);
/* oklch */ color: oklch(56.4% 0.159 287.0);
Tailwind
colors: {
  custom: {
    50: '#a08fdd',
    500: '#7262cd',
    950: '#000000',
  },
}
SCSS
$custom: #7262cd;
$custom-light: #a08fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7262cd",
  "rgb": {
    "r": 114,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 248.972,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.1594,
    "h": 287
  },
  "luminance": 0.16721
}

Semantic roles & 50–950 ramp

primary
#7262CD
secondary
#D4DAB1
accent
#DB4DC6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7262CD

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

Preview Lab → · Contrast checker → · Palette generator →

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