#6277CA#6277CA

#6277CA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.129 H 271.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6277CA
RGBrgb(98, 119, 202)
HSLhsl(228, 50%, 59%)
HSVhsv(228, 51%, 79%)
CMYKcmyk(51.5%, 41.1%, 0%, 20.8%)
CIE-LABlab(51.90, 15.68, -45.58)
CIE-LCHlch(51.90, 48.21, 288.99°)
OKLaboklab(59.1% 0.0029 -0.1292)
OKLCHoklch(59.1% 0.129 271.3)
XYZxyz(22.2911, 20.0531, 58.5617)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6277CA #CAB562
analogous
#62ABCA #6277CA #8162CA
triadic
#6277CA #CA6277 #77CA62
tetradic
#6277CA #CA62AB #CAB562 #62CA81
square
#6277CA #CA62AB #CAB562 #62CA81
split-complementary
#6277CA #CA8162 #ABCA62
monochromatic
#2D3F85 #3C54B3 #6277CA #909FD9 #BEC6E9

Accessibility & contrast

On white

4.19
#6277CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#6277CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6277CA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6277CA#FFFFFF#000000##000000
##6277CA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#4A78C8
Tritanopia (blue-blind)
#338997
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6277ca;
/* rgb */ color: rgb(98, 119, 202);
/* oklch */ color: oklch(59.1% 0.129 271.3);
Tailwind
colors: {
  custom: {
    50: '#959dda',
    500: '#6277ca',
    950: '#000000',
  },
}
SCSS
$custom: #6277ca;
$custom-light: #959dda;
$custom-dark: #000000;
JSON
{
  "hex": "#6277ca",
  "rgb": {
    "r": 98,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 227.885,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59102,
    "c": 0.12921,
    "h": 271.3
  },
  "luminance": 0.20055
}

Semantic roles & 50–950 ramp

primary
#6277CA
secondary
#D8D0AF
accent
#BD4FD9
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6277CA

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

Preview Lab → · Contrast checker → · Palette generator →

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