#6279EC#6279EC

#6279EC is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.174 H 271.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6279EC
RGBrgb(98, 121, 236)
HSLhsl(230, 78%, 65%)
HSVhsv(230, 58%, 93%)
CMYKcmyk(58.5%, 48.7%, 0%, 7.5%)
CIE-LABlab(54.37, 25.40, -60.80)
CIE-LCHlch(54.37, 65.89, 292.67°)
OKLaboklab(61.62% 0.0057 -0.1738)
OKLCHoklch(61.62% 0.174 271.9)
XYZxyz(27.0097, 22.3254, 82.2265)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6279EC #ECD562
analogous
#62BEEC #6279EC #9062EC
triadic
#6279EC #EC6279 #79EC62
tetradic
#6279EC #EC62BE #ECD562 #62EC90
square
#6279EC #EC62BE #ECD562 #62EC90
split-complementary
#6279EC #EC9062 #BEEC62
monochromatic
#1732BD #2B4AE5 #6279EC #99A8F3 #CFD6F9

Accessibility & contrast

On white

3.84
#6279EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#6279EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6279EC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6279EC#FFFFFF#000000##000000
##6279EC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88F0
Deuteranopia (green-blind)
#257CEA
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6279ec;
/* rgb */ color: rgb(98, 121, 236);
/* oklch */ color: oklch(61.6% 0.174 271.9);
Tailwind
colors: {
  custom: {
    50: '#9a9ff3',
    500: '#6279ec',
    950: '#000000',
  },
}
SCSS
$custom: #6279ec;
$custom-light: #9a9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#6279ec",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 230,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61618,
    "c": 0.17392,
    "h": 271.9
  },
  "luminance": 0.22328
}

Semantic roles & 50–950 ramp

primary
#6279EC
secondary
#ECE4BE
accent
#B80BDB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6279EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6279EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva