#6277F2#6277F2

#6277F2 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.6% C 0.184 H 272.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6277F2
RGBrgb(98, 119, 242)
HSLhsl(231, 85%, 67%)
HSVhsv(231, 60%, 95%)
CMYKcmyk(59.5%, 50.8%, 0%, 5.1%)
CIE-LABlab(54.24, 28.58, -64.36)
CIE-LCHlch(54.24, 70.42, 293.94°)
OKLaboklab(61.64% 0.0082 -0.1843)
OKLCHoklch(61.64% 0.185 272.6)
XYZxyz(27.6555, 22.1989, 86.8146)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6277F2 #F2DD62
analogous
#62BFF2 #6277F2 #9562F2
triadic
#6277F2 #F26277 #77F262
tetradic
#6277F2 #F262BF #F2DD62 #62F295
square
#6277F2 #F262BF #F2DD62 #62F295
split-complementary
#6277F2 #F29562 #BFF262
monochromatic
#112CC9 #2946ED #6277F2 #9BA8F7 #D3D9FB

Accessibility & contrast

On white

3.86
#6277F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#6277F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6277F2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6277F2#FFFFFF#000000##000000
##6277F21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#047CEF
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6277f2;
/* rgb */ color: rgb(98, 119, 242);
/* oklch */ color: oklch(61.6% 0.184 272.6);
Tailwind
colors: {
  custom: {
    50: '#9b9ef7',
    500: '#6277f2',
    950: '#000000',
  },
}
SCSS
$custom: #6277f2;
$custom-light: #9b9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#6277f2",
  "rgb": {
    "r": 98,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 231.25,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61637,
    "c": 0.1845,
    "h": 272.6
  },
  "luminance": 0.22201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6277F2

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

Preview Lab → · Contrast checker → · Palette generator →

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