#6278DA#6278DA

#6278DA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.150 H 271.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6278DA
RGBrgb(98, 120, 218)
HSLhsl(229, 62%, 62%)
HSVhsv(229, 55%, 85%)
CMYKcmyk(55%, 45%, 0%, 14.5%)
CIE-LABlab(53.05, 20.17, -52.82)
CIE-LCHlch(53.05, 56.55, 290.90°)
OKLaboklab(60.27% 0.0045 -0.1504)
OKLCHoklch(60.27% 0.15 271.7)
XYZxyz(24.4042, 21.0898, 69.1008)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6278DA #DAC462
analogous
#62B4DA #6278DA #8862DA
triadic
#6278DA #DA6278 #78DA62
tetradic
#6278DA #DA62B4 #DAC462 #62DA88
square
#6278DA #DA62B4 #DAC462 #62DA88
split-complementary
#6278DA #DA8862 #B4DA62
monochromatic
#253B9D #314DCE #6278DA #94A3E6 #C5CDF1

Accessibility & contrast

On white

4.02
#6278DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#6278DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6278DA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6278DA#FFFFFF#000000##000000
##6278DA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DE
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#1F8E9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6278da;
/* rgb */ color: rgb(98, 120, 218);
/* oklch */ color: oklch(60.3% 0.150 271.7);
Tailwind
colors: {
  custom: {
    50: '#979ee6',
    500: '#6278da',
    950: '#000000',
  },
}
SCSS
$custom: #6278da;
$custom-light: #979ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#6278da",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 229,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60269,
    "c": 0.15047,
    "h": 271.7
  },
  "luminance": 0.21092
}

Semantic roles & 50–950 ramp

primary
#6278DA
secondary
#E2DAB6
accent
#AA1CCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6278DA

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

Preview Lab → · Contrast checker → · Palette generator →

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