#6277EC#6277EC

#6277EC is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.2% C 0.176 H 272.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6277EC
RGBrgb(98, 119, 236)
HSLhsl(231, 78%, 65%)
HSVhsv(231, 58%, 93%)
CMYKcmyk(58.5%, 49.6%, 0%, 7.5%)
CIE-LABlab(53.86, 26.62, -61.62)
CIE-LCHlch(53.86, 67.12, 293.36°)
OKLaboklab(61.23% 0.0077 -0.1763)
OKLCHoklch(61.23% 0.176 272.5)
XYZxyz(26.7692, 21.8444, 82.1464)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6277EC #ECD762
analogous
#62BCEC #6277EC #9262EC
triadic
#6277EC #EC6277 #77EC62
tetradic
#6277EC #EC62BC #ECD762 #62EC92
square
#6277EC #EC62BC #ECD762 #62EC92
split-complementary
#6277EC #EC9262 #BCEC62
monochromatic
#1730BD #2B48E5 #6277EC #99A6F3 #CFD6F9

Accessibility & contrast

On white

3.91
#6277EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#6277EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6277EC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6277EC#FFFFFF#000000##000000
##6277EC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987F0
Deuteranopia (green-blind)
#1D7BEA
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6277ec;
/* rgb */ color: rgb(98, 119, 236);
/* oklch */ color: oklch(61.2% 0.176 272.5);
Tailwind
colors: {
  custom: {
    50: '#9a9df3',
    500: '#6277ec',
    950: '#000000',
  },
}
SCSS
$custom: #6277ec;
$custom-light: #9a9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#6277ec",
  "rgb": {
    "r": 98,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 230.87,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61233,
    "c": 0.17643,
    "h": 272.5
  },
  "luminance": 0.21846
}

Semantic roles & 50–950 ramp

primary
#6277EC
secondary
#ECE5BE
accent
#BB0BDB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6277EC

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

Preview Lab → · Contrast checker → · Palette generator →

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