#6279DD#6279DD

#6279DD is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.7% C 0.153 H 271.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6279DD
RGBrgb(98, 121, 221)
HSLhsl(229, 64%, 63%)
HSVhsv(229, 56%, 87%)
CMYKcmyk(55.7%, 45.2%, 0%, 13.3%)
CIE-LABlab(53.48, 20.53, -53.82)
CIE-LCHlch(53.48, 57.60, 290.88°)
OKLaboklab(60.66% 0.0038 -0.1533)
OKLCHoklch(60.66% 0.153 271.4)
XYZxyz(24.9212, 21.4900, 71.2273)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6279DD #DDC662
analogous
#62B7DD #6279DD #8862DD
triadic
#6279DD #DD6279 #79DD62
tetradic
#6279DD #DD62B7 #DDC662 #62DD88
square
#6279DD #DD62B7 #DDC662 #62DD88
split-complementary
#6279DD #DD8862 #B7DD62
monochromatic
#233BA2 #304ED2 #6279DD #94A4E8 #C7CFF3

Accessibility & contrast

On white

3.96
#6279DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6279DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6279DD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6279DD#FFFFFF#000000##000000
##6279DD1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85E1
Deuteranopia (green-blind)
#3C7BDB
Tritanopia (blue-blind)
#188FA0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6279dd;
/* rgb */ color: rgb(98, 121, 221);
/* oklch */ color: oklch(60.7% 0.153 271.4);
Tailwind
colors: {
  custom: {
    50: '#979fe8',
    500: '#6279dd',
    950: '#000000',
  },
}
SCSS
$custom: #6279dd;
$custom-light: #979fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#6279dd",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 228.78,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60656,
    "c": 0.15337,
    "h": 271.4
  },
  "luminance": 0.21492
}

Semantic roles & 50–950 ramp

primary
#6279DD
secondary
#E4DBB7
accent
#AB19CC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6279DD

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

Preview Lab → · Contrast checker → · Palette generator →

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