#6279DC#6279DC

#6279DC is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.6% C 0.152 H 271.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6279DC
RGBrgb(98, 121, 220)
HSLhsl(229, 64%, 62%)
HSVhsv(229, 55%, 86%)
CMYKcmyk(55.5%, 45%, 0%, 13.7%)
CIE-LABlab(53.42, 20.21, -53.35)
CIE-LCHlch(53.42, 57.05, 290.75°)
OKLaboklab(60.59% 0.0037 -0.1519)
OKLCHoklch(60.59% 0.152 271.4)
XYZxyz(24.7884, 21.4369, 70.5278)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6279DC #DCC562
analogous
#62B6DC #6279DC #8862DC
triadic
#6279DC #DC6279 #79DC62
tetradic
#6279DC #DC62B6 #DCC562 #62DC88
square
#6279DC #DC62B6 #DCC562 #62DC88
split-complementary
#6279DC #DC8862 #B6DC62
monochromatic
#243BA0 #304ED1 #6279DC #94A4E7 #C6CEF2

Accessibility & contrast

On white

3.97
#6279DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6279DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6279DC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6279DC#FFFFFF#000000##000000
##6279DC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85E0
Deuteranopia (green-blind)
#3D7BDA
Tritanopia (blue-blind)
#1B8FA0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6279dc;
/* rgb */ color: rgb(98, 121, 220);
/* oklch */ color: oklch(60.6% 0.152 271.4);
Tailwind
colors: {
  custom: {
    50: '#979fe7',
    500: '#6279dc',
    950: '#000000',
  },
}
SCSS
$custom: #6279dc;
$custom-light: #979fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#6279dc",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 228.689,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60594,
    "c": 0.15197,
    "h": 271.4
  },
  "luminance": 0.21439
}

Semantic roles & 50–950 ramp

primary
#6279DC
secondary
#E3DBB7
accent
#AA1ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6279DC

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

Preview Lab → · Contrast checker → · Palette generator →

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