#6279DB#6279DB

#6279DB is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.5% C 0.151 H 271.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6279DB
RGBrgb(98, 121, 219)
HSLhsl(229, 63%, 62%)
HSVhsv(229, 55%, 86%)
CMYKcmyk(55.3%, 44.7%, 0%, 14.1%)
CIE-LABlab(53.37, 19.89, -52.88)
CIE-LCHlch(53.37, 56.49, 290.61°)
OKLaboklab(60.53% 0.0035 -0.1505)
OKLCHoklch(60.53% 0.151 271.3)
XYZxyz(24.6564, 21.3841, 69.8324)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6279DB #DBC462
analogous
#62B6DB #6279DB #8862DB
triadic
#6279DB #DB6279 #79DB62
tetradic
#6279DB #DB62B6 #DBC462 #62DB88
square
#6279DB #DB62B6 #DBC462 #62DB88
split-complementary
#6279DB #DB8862 #B6DB62
monochromatic
#243B9E #304FD0 #6279DB #94A3E6 #C6CEF2

Accessibility & contrast

On white

3.98
#6279DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6279DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6279DB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6279DB#FFFFFF#000000##000000
##6279DB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D85DF
Deuteranopia (green-blind)
#3E7BD9
Tritanopia (blue-blind)
#1D8F9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6279db;
/* rgb */ color: rgb(98, 121, 219);
/* oklch */ color: oklch(60.5% 0.151 271.3);
Tailwind
colors: {
  custom: {
    50: '#979fe7',
    500: '#6279db',
    950: '#000000',
  },
}
SCSS
$custom: #6279db;
$custom-light: #979fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#6279db",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 228.595,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.15059,
    "h": 271.3
  },
  "luminance": 0.21386
}

Semantic roles & 50–950 ramp

primary
#6279DB
secondary
#E3DAB6
accent
#A91BCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6279DB

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

Preview Lab → · Contrast checker → · Palette generator →

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