#6277CD#6277CD

#6277CD is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.3% C 0.133 H 271.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6277CD
RGBrgb(98, 119, 205)
HSLhsl(228, 52%, 59%)
HSVhsv(228, 52%, 80%)
CMYKcmyk(52.2%, 42%, 0%, 19.6%)
CIE-LABlab(52.06, 16.63, -47.04)
CIE-LCHlch(52.06, 49.89, 289.47°)
OKLaboklab(59.28% 0.0034 -0.1334)
OKLCHoklch(59.28% 0.133 271.5)
XYZxyz(22.6497, 20.1966, 60.4506)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6277CD #CDB862
analogous
#62ADCD #6277CD #8362CD
triadic
#6277CD #CD6277 #77CD62
tetradic
#6277CD #CD62AD #CDB862 #62CD83
square
#6277CD #CD62AD #CDB862 #62CD83
split-complementary
#6277CD #CD8362 #ADCD62
monochromatic
#2C3E89 #3A53B7 #6277CD #909FDC #BFC7EB

Accessibility & contrast

On white

4.17
#6277CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6277CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6277CD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6277CD#FFFFFF#000000##000000
##6277CD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#308A98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6277cd;
/* rgb */ color: rgb(98, 119, 205);
/* oklch */ color: oklch(59.3% 0.133 271.5);
Tailwind
colors: {
  custom: {
    50: '#959ddd',
    500: '#6277cd',
    950: '#000000',
  },
}
SCSS
$custom: #6277cd;
$custom-light: #959ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#6277cd",
  "rgb": {
    "r": 98,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 228.224,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59278,
    "c": 0.13347,
    "h": 271.5
  },
  "luminance": 0.20198
}

Semantic roles & 50–950 ramp

primary
#6277CD
secondary
#DAD2B1
accent
#BF4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6277CD

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

Preview Lab → · Contrast checker → · Palette generator →

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