#6277EB#6277EB

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

Color values

HEX#6277EB
RGBrgb(98, 119, 235)
HSLhsl(231, 77%, 65%)
HSVhsv(231, 58%, 92%)
CMYKcmyk(58.3%, 49.4%, 0%, 7.8%)
CIE-LABlab(53.80, 26.29, -61.16)
CIE-LCHlch(53.80, 66.57, 293.26°)
OKLaboklab(61.17% 0.0076 -0.1749)
OKLCHoklch(61.17% 0.175 272.5)
XYZxyz(26.6243, 21.7864, 81.3833)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6277EB #EBD662
analogous
#62BBEB #6277EB #9162EB
triadic
#6277EB #EB6277 #77EB62
tetradic
#6277EB #EB62BB #EBD662 #62EB91
square
#6277EB #EB62BB #EBD662 #62EB91
split-complementary
#6277EB #EB9162 #BBEB62
monochromatic
#1831BB #2C48E4 #6277EB #98A6F2 #CFD5F9

Accessibility & contrast

On white

3.92
#6277EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6277EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6277EB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6277EB#FFFFFF#000000##000000
##6277EB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#207BE9
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6277eb;
/* rgb */ color: rgb(98, 119, 235);
/* oklch */ color: oklch(61.2% 0.175 272.5);
Tailwind
colors: {
  custom: {
    50: '#999df2',
    500: '#6277eb',
    950: '#000000',
  },
}
SCSS
$custom: #6277eb;
$custom-light: #999df2;
$custom-dark: #000000;
JSON
{
  "hex": "#6277eb",
  "rgb": {
    "r": 98,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 230.803,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61166,
    "c": 0.17508,
    "h": 272.5
  },
  "luminance": 0.21788
}

Semantic roles & 50–950 ramp

primary
#6277EB
secondary
#EBE4BD
accent
#BA0CDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6277EB

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

Preview Lab → · Contrast checker → · Palette generator →

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