#6277EE#6277EE

#6277EE is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.4% C 0.179 H 272.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6277EE
RGBrgb(98, 119, 238)
HSLhsl(231, 80%, 66%)
HSVhsv(231, 59%, 93%)
CMYKcmyk(58.8%, 50%, 0%, 6.7%)
CIE-LABlab(53.99, 27.27, -62.54)
CIE-LCHlch(53.99, 68.22, 293.56°)
OKLaboklab(61.37% 0.0079 -0.1789)
OKLCHoklch(61.37% 0.179 272.5)
XYZxyz(27.0613, 21.9612, 83.6852)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6277EE #EED962
analogous
#62BDEE #6277EE #9362EE
triadic
#6277EE #EE6277 #77EE62
tetradic
#6277EE #EE62BD #EED962 #62EE93
square
#6277EE #EE62BD #EED962 #62EE93
split-complementary
#6277EE #EE9362 #BDEE62
monochromatic
#152FC1 #2B47E8 #6277EE #99A7F4 #D0D7FA

Accessibility & contrast

On white

3.89
#6277EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#6277EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6277EE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6277EE#FFFFFF#000000##000000
##6277EE1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F2
Deuteranopia (green-blind)
#177BEC
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6277ee;
/* rgb */ color: rgb(98, 119, 238);
/* oklch */ color: oklch(61.4% 0.179 272.5);
Tailwind
colors: {
  custom: {
    50: '#9a9ef4',
    500: '#6277ee',
    950: '#000000',
  },
}
SCSS
$custom: #6277ee;
$custom-light: #9a9ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#6277ee",
  "rgb": {
    "r": 98,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 231,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61367,
    "c": 0.17912,
    "h": 272.5
  },
  "luminance": 0.21963
}

Semantic roles & 50–950 ramp

primary
#6277EE
secondary
#EDE6BF
accent
#BD09DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6277EE

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

Preview Lab → · Contrast checker → · Palette generator →

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