#6279E2#6279E2

#6279E2 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.160 H 271.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6279E2
RGBrgb(98, 121, 226)
HSLhsl(229, 69%, 64%)
HSVhsv(229, 57%, 89%)
CMYKcmyk(56.6%, 46.5%, 0%, 11.4%)
CIE-LABlab(53.77, 22.15, -56.17)
CIE-LCHlch(53.77, 60.38, 291.52°)
OKLaboklab(60.97% 0.0045 -0.1602)
OKLCHoklch(60.97% 0.16 271.6)
XYZxyz(25.5973, 21.7605, 74.7881)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6279E2 #E2CB62
analogous
#62B9E2 #6279E2 #8B62E2
triadic
#6279E2 #E26279 #79E262
tetradic
#6279E2 #E262B9 #E2CB62 #62E28B
square
#6279E2 #E262B9 #E2CB62 #62E28B
split-complementary
#6279E2 #E28B62 #B9E262
monochromatic
#1F38AA #2E4DD8 #6279E2 #96A5EC #C9D1F5

Accessibility & contrast

On white

3.92
#6279E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6279E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6279E2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6279E2#FFFFFF#000000##000000
##6279E21.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4886E6
Deuteranopia (green-blind)
#357BE0
Tritanopia (blue-blind)
#0990A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6279e2;
/* rgb */ color: rgb(98, 121, 226);
/* oklch */ color: oklch(61.0% 0.160 271.6);
Tailwind
colors: {
  custom: {
    50: '#989fec',
    500: '#6279e2',
    950: '#000000',
  },
}
SCSS
$custom: #6279e2;
$custom-light: #989fec;
$custom-dark: #000000;
JSON
{
  "hex": "#6279e2",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 229.219,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60971,
    "c": 0.16027,
    "h": 271.6
  },
  "luminance": 0.21762
}

Semantic roles & 50–950 ramp

primary
#6279E2
secondary
#E7DEB9
accent
#AF15D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6279E2

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

Preview Lab → · Contrast checker → · Palette generator →

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