#6277E4#6277E4

#6277E4 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.7% C 0.166 H 272.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6277E4
RGBrgb(98, 119, 228)
HSLhsl(230, 71%, 64%)
HSVhsv(230, 57%, 89%)
CMYKcmyk(57%, 47.8%, 0%, 10.6%)
CIE-LABlab(53.37, 24.02, -57.93)
CIE-LCHlch(53.37, 62.71, 292.52°)
OKLaboklab(60.71% 0.0069 -0.1654)
OKLCHoklch(60.71% 0.166 272.4)
XYZxyz(25.6328, 21.3898, 76.1616)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6277E4 #E4CF62
analogous
#62B8E4 #6277E4 #8E62E4
triadic
#6277E4 #E46277 #77E462
tetradic
#6277E4 #E462B8 #E4CF62 #62E48E
square
#6277E4 #E462B8 #E4CF62 #62E48E
split-complementary
#6277E4 #E48E62 #B8E462
monochromatic
#1E35AE #2E4ADB #6277E4 #96A4ED #CAD1F6

Accessibility & contrast

On white

3.98
#6277E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6277E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6277E4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6277E4#FFFFFF#000000##000000
##6277E41.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)
#4285E8
Deuteranopia (green-blind)
#2D7AE2
Tritanopia (blue-blind)
#028FA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6277e4;
/* rgb */ color: rgb(98, 119, 228);
/* oklch */ color: oklch(60.7% 0.166 272.4);
Tailwind
colors: {
  custom: {
    50: '#989ded',
    500: '#6277e4',
    950: '#000000',
  },
}
SCSS
$custom: #6277e4;
$custom-light: #989ded;
$custom-dark: #000000;
JSON
{
  "hex": "#6277e4",
  "rgb": {
    "r": 98,
    "g": 119,
    "b": 228
  },
  "hsl": {
    "h": 230.308,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60706,
    "c": 0.16554,
    "h": 272.4
  },
  "luminance": 0.21392
}

Semantic roles & 50–950 ramp

primary
#6277E4
secondary
#E8E0BA
accent
#B413D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6277E4

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

Preview Lab → · Contrast checker → · Palette generator →

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