#6278DD#6278DD

#6278DD is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.5% C 0.155 H 271.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6278DD
RGBrgb(98, 120, 221)
HSLhsl(229, 64%, 63%)
HSVhsv(229, 56%, 87%)
CMYKcmyk(55.7%, 45.7%, 0%, 13.3%)
CIE-LABlab(53.22, 21.14, -54.24)
CIE-LCHlch(53.22, 58.21, 291.29°)
OKLaboklab(60.46% 0.0049 -0.1546)
OKLCHoklch(60.46% 0.155 271.8)
XYZxyz(24.8003, 21.2483, 71.1870)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6278DD #DDC762
analogous
#62B6DD #6278DD #8962DD
triadic
#6278DD #DD6278 #78DD62
tetradic
#6278DD #DD62B6 #DDC762 #62DD89
square
#6278DD #DD62B6 #DDC762 #62DD89
split-complementary
#6278DD #DD8962 #B6DD62
monochromatic
#233AA2 #304DD2 #6278DD #94A3E8 #C7CFF3

Accessibility & contrast

On white

4.00
#6278DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6278DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6278DD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6278DD#FFFFFF#000000##000000
##6278DD1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#3A7ADB
Tritanopia (blue-blind)
#198EA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6278dd;
/* rgb */ color: rgb(98, 120, 221);
/* oklch */ color: oklch(60.5% 0.155 271.8);
Tailwind
colors: {
  custom: {
    50: '#979ee8',
    500: '#6278dd',
    950: '#000000',
  },
}
SCSS
$custom: #6278dd;
$custom-light: #979ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#6278dd",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 229.268,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60457,
    "c": 0.15464,
    "h": 271.8
  },
  "luminance": 0.2125
}

Semantic roles & 50–950 ramp

primary
#6278DD
secondary
#E4DCB7
accent
#AC19CC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6278DD

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

Preview Lab → · Contrast checker → · Palette generator →

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