#6278DB#6278DB

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

Color values

HEX#6278DB
RGBrgb(98, 120, 219)
HSLhsl(229, 63%, 62%)
HSVhsv(229, 55%, 86%)
CMYKcmyk(55.3%, 45.2%, 0%, 14.1%)
CIE-LABlab(53.10, 20.50, -53.30)
CIE-LCHlch(53.10, 57.10, 291.04°)
OKLaboklab(60.33% 0.0046 -0.1518)
OKLCHoklch(60.33% 0.152 271.7)
XYZxyz(24.5355, 21.1423, 69.7921)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6278DB #DBC562
analogous
#62B4DB #6278DB #8962DB
triadic
#6278DB #DB6278 #78DB62
tetradic
#6278DB #DB62B4 #DBC562 #62DB89
square
#6278DB #DB62B4 #DBC562 #62DB89
split-complementary
#6278DB #DB8962 #B4DB62
monochromatic
#243A9E #304DD0 #6278DB #94A3E6 #C6CEF2

Accessibility & contrast

On white

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

On black

5.23
#6278DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6278DB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6278DB#FFFFFF#000000##000000
##6278DB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DF
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#1D8E9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6278db;
/* rgb */ color: rgb(98, 120, 219);
/* oklch */ color: oklch(60.3% 0.152 271.7);
Tailwind
colors: {
  custom: {
    50: '#979ee7',
    500: '#6278db',
    950: '#000000',
  },
}
SCSS
$custom: #6278db;
$custom-light: #979ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6278db",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 229.091,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60332,
    "c": 0.15186,
    "h": 271.7
  },
  "luminance": 0.21144
}

Semantic roles & 50–950 ramp

primary
#6278DB
secondary
#E3DBB6
accent
#AB1BCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6278DB

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

Preview Lab → · Contrast checker → · Palette generator →

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