#6277F4#6277F4

#6277F4 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.8% C 0.187 H 272.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6277F4
RGBrgb(98, 119, 244)
HSLhsl(231, 87%, 67%)
HSVhsv(231, 60%, 96%)
CMYKcmyk(59.8%, 51.2%, 0%, 4.3%)
CIE-LABlab(54.36, 29.23, -65.26)
CIE-LCHlch(54.36, 71.51, 294.13°)
OKLaboklab(61.77% 0.0084 -0.187)
OKLCHoklch(61.77% 0.187 272.6)
XYZxyz(27.9576, 22.3197, 88.4053)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6277F4 #F4DF62
analogous
#62C0F4 #6277F4 #9662F4
triadic
#6277F4 #F46277 #77F462
tetradic
#6277F4 #F462C0 #F4DF62 #62F496
square
#6277F4 #F462C0 #F4DF62 #62F496
split-complementary
#6277F4 #F49662 #C0F462
monochromatic
#0E2ACD #2945F0 #6277F4 #9BA9F8 #D4DAFC

Accessibility & contrast

On white

3.84
#6277F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6277F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6277F4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6277F4#FFFFFF#000000##000000
##6277F41.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E89F8
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6277f4;
/* rgb */ color: rgb(98, 119, 244);
/* oklch */ color: oklch(61.8% 0.187 272.6);
Tailwind
colors: {
  custom: {
    50: '#9b9ef8',
    500: '#6277f4',
    950: '#000000',
  },
}
SCSS
$custom: #6277f4;
$custom-light: #9b9ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#6277f4",
  "rgb": {
    "r": 98,
    "g": 119,
    "b": 244
  },
  "hsl": {
    "h": 231.37,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61774,
    "c": 0.18717,
    "h": 272.6
  },
  "luminance": 0.22322
}

Semantic roles & 50–950 ramp

primary
#6277F4
secondary
#F0E9C2
accent
#C302E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6277F4

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

Preview Lab → · Contrast checker → · Palette generator →

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