#6279F2#6279F2

#6279F2 is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.0% C 0.182 H 272.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6279F2
RGBrgb(98, 121, 242)
HSLhsl(230, 85%, 67%)
HSVhsv(230, 60%, 95%)
CMYKcmyk(59.5%, 50%, 0%, 5.1%)
CIE-LABlab(54.74, 27.36, -63.55)
CIE-LCHlch(54.74, 69.19, 293.30°)
OKLaboklab(62.02% 0.0063 -0.1819)
OKLCHoklch(62.02% 0.182 272)
XYZxyz(27.8961, 22.6800, 86.8948)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6279F2 #F2DB62
analogous
#62C1F2 #6279F2 #9362F2
triadic
#6279F2 #F26279 #79F262
tetradic
#6279F2 #F262C1 #F2DB62 #62F293
square
#6279F2 #F262C1 #F2DB62 #62F293
split-complementary
#6279F2 #F29362 #C1F262
monochromatic
#112EC9 #2949ED #6279F2 #9BA9F7 #D3D9FB

Accessibility & contrast

On white

3.79
#6279F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#6279F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6279F2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6279F2#FFFFFF#000000##000000
##6279F21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF6
Deuteranopia (green-blind)
#147DEF
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6279f2;
/* rgb */ color: rgb(98, 121, 242);
/* oklch */ color: oklch(62.0% 0.182 272.0);
Tailwind
colors: {
  custom: {
    50: '#9a9ff7',
    500: '#6279f2',
    950: '#000000',
  },
}
SCSS
$custom: #6279f2;
$custom-light: #9a9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#6279f2",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 230.417,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62018,
    "c": 0.18202,
    "h": 272
  },
  "luminance": 0.22682
}

Semantic roles & 50–950 ramp

primary
#6279F2
secondary
#EFE8C1
accent
#BE04E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6279F2

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

Preview Lab → · Contrast checker → · Palette generator →

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