#6277BB#6277BB

#6277BB is a mid, moderate blue. Relative luminance 0.194; OKLCH L 58.3% C 0.108 H 269.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6277BB
RGBrgb(98, 119, 187)
HSLhsl(226, 40%, 56%)
HSVhsv(226, 48%, 73%)
CMYKcmyk(47.6%, 36.4%, 0%, 26.7%)
CIE-LABlab(51.13, 11.01, -38.22)
CIE-LCHlch(51.13, 39.77, 286.07°)
OKLaboklab(58.26% -0.0003 -0.1077)
OKLCHoklch(58.26% 0.108 269.8)
XYZxyz(20.6006, 19.3769, 49.6587)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6277BB #BBA662
analogous
#62A3BB #6277BB #7962BB
triadic
#6277BB #BB6277 #77BB62
tetradic
#6277BB #BB62A3 #BBA662 #62BB79
square
#6277BB #BB62A3 #BBA662 #62BB79
split-complementary
#6277BB #BB7962 #A3BB62
monochromatic
#314071 #44599C #6277BB #8D9CCD #B7C1E0

Accessibility & contrast

On white

4.31
#6277BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#6277BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6277BB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6277BB#FFFFFF#000000##000000
##6277BB1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#3F8590
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6277bb;
/* rgb */ color: rgb(98, 119, 187);
/* oklch */ color: oklch(58.3% 0.108 269.8);
Tailwind
colors: {
  custom: {
    50: '#939ed0',
    500: '#6277bb',
    950: '#000000',
  },
}
SCSS
$custom: #6277bb;
$custom-light: #939ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6277bb",
  "rgb": {
    "r": 98,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 225.843,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58256,
    "c": 0.10767,
    "h": 269.8
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#6277BB
secondary
#CFC6AA
accent
#B358CF
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #6277BB

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

Preview Lab → · Contrast checker → · Palette generator →

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