#6279EA#6279EA

#6279EA is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.171 H 271.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6279EA
RGBrgb(98, 121, 234)
HSLhsl(230, 76%, 65%)
HSVhsv(230, 58%, 92%)
CMYKcmyk(58.1%, 48.3%, 0%, 8.2%)
CIE-LABlab(54.25, 24.75, -59.88)
CIE-LCHlch(54.25, 64.79, 292.46°)
OKLaboklab(61.49% 0.0055 -0.1711)
OKLCHoklch(61.49% 0.171 271.8)
XYZxyz(26.7207, 22.2098, 80.7048)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6279EA #EAD362
analogous
#62BDEA #6279EA #8F62EA
triadic
#6279EA #EA6279 #79EA62
tetradic
#6279EA #EA62BD #EAD362 #62EA8F
square
#6279EA #EA62BD #EAD362 #62EA8F
split-complementary
#6279EA #EA8F62 #BDEA62
monochromatic
#1934B9 #2C4BE3 #6279EA #98A7F1 #CED5F8

Accessibility & contrast

On white

3.86
#6279EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#6279EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6279EA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6279EA#FFFFFF#000000##000000
##6279EA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088EE
Deuteranopia (green-blind)
#297CE8
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6279ea;
/* rgb */ color: rgb(98, 121, 234);
/* oklch */ color: oklch(61.5% 0.171 271.8);
Tailwind
colors: {
  custom: {
    50: '#999ff1',
    500: '#6279ea',
    950: '#000000',
  },
}
SCSS
$custom: #6279ea;
$custom-light: #999ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#6279ea",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 229.853,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61487,
    "c": 0.17121,
    "h": 271.8
  },
  "luminance": 0.22212
}

Semantic roles & 50–950 ramp

primary
#6279EA
secondary
#EBE3BD
accent
#B60DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6279EA

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

Preview Lab → · Contrast checker → · Palette generator →

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