#6278CC#6278CC

#6278CC is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.131 H 270.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6278CC
RGBrgb(98, 120, 204)
HSLhsl(228, 51%, 59%)
HSVhsv(228, 52%, 80%)
CMYKcmyk(52%, 41.2%, 0%, 20%)
CIE-LABlab(52.27, 15.71, -46.13)
CIE-LCHlch(52.27, 48.73, 288.80°)
OKLaboklab(59.43% 0.0021 -0.1308)
OKLCHoklch(59.43% 0.131 270.9)
XYZxyz(22.6490, 20.3877, 59.8568)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6278CC #CCB662
analogous
#62ADCC #6278CC #8162CC
triadic
#6278CC #CC6278 #78CC62
tetradic
#6278CC #CC62AD #CCB662 #62CC81
square
#6278CC #CC62AD #CCB662 #62CC81
split-complementary
#6278CC #CC8162 #ADCC62
monochromatic
#2C3F88 #3B55B6 #6278CC #90A0DB #BEC7EA

Accessibility & contrast

On white

4.14
#6278CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#6278CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6278CC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6278CC#FFFFFF#000000##000000
##6278CC1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#318A98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6278cc;
/* rgb */ color: rgb(98, 120, 204);
/* oklch */ color: oklch(59.4% 0.131 270.9);
Tailwind
colors: {
  custom: {
    50: '#959edc',
    500: '#6278cc',
    950: '#000000',
  },
}
SCSS
$custom: #6278cc;
$custom-light: #959edc;
$custom-dark: #000000;
JSON
{
  "hex": "#6278cc",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 227.547,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59425,
    "c": 0.13078,
    "h": 270.9
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

primary
#6278CC
secondary
#DAD1B0
accent
#BD4DDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6278CC

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

Preview Lab → · Contrast checker → · Palette generator →

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