#7278FB#7278FB

#7278FB is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.5% C 0.191 H 277.5°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7278FB
RGBrgb(114, 120, 251)
HSLhsl(237, 94%, 72%)
HSVhsv(237, 55%, 98%)
CMYKcmyk(54.6%, 52.2%, 0%, 1.6%)
CIE-LABlab(56.06, 33.80, -66.36)
CIE-LCHlch(56.06, 74.47, 296.99°)
OKLaboklab(63.45% 0.0249 -0.1898)
OKLCHoklch(63.45% 0.191 277.5)
XYZxyz(31.0630, 23.9733, 94.2385)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7278FB #FBF572
analogous
#72BDFB #7278FB #B172FB
triadic
#7278FB #FB7278 #78FB72
tetradic
#7278FB #FB72BD #FBF572 #72FBB1
square
#7278FB #FB72BD #FBF572 #72FBB1
split-complementary
#7278FB #FBB172 #BDFB72
monochromatic
#0711EC #363FF9 #7278FB #AEB1FD #E1E3FE

Accessibility & contrast

On white

3.62
#7278FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#7278FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7278FB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7278FB#FFFFFF#000000##000000
##7278FB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8CFF
Deuteranopia (green-blind)
#0C81F8
Tritanopia (blue-blind)
#2B96AE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7278fb;
/* rgb */ color: rgb(114, 120, 251);
/* oklch */ color: oklch(63.5% 0.191 277.5);
Tailwind
colors: {
  custom: {
    50: '#a49ffd',
    500: '#7278fb',
    950: '#000000',
  },
}
SCSS
$custom: #7278fb;
$custom-light: #a49ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#7278fb",
  "rgb": {
    "r": 114,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 237.372,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.63453,
    "c": 0.19143,
    "h": 277.5
  },
  "luminance": 0.23975
}

Semantic roles & 50–950 ramp

primary
#7278FB
secondary
#F6F4D3
accent
#DB00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #7278FB

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

Preview Lab → · Contrast checker → · Palette generator →

#7278FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva