#6277DD#6277DD

#6277DD is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.156 H 272.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6277DD
RGBrgb(98, 119, 221)
HSLhsl(230, 64%, 63%)
HSVhsv(230, 56%, 87%)
CMYKcmyk(55.7%, 46.2%, 0%, 13.3%)
CIE-LABlab(52.96, 21.75, -54.66)
CIE-LCHlch(52.96, 58.83, 291.70°)
OKLaboklab(60.26% 0.006 -0.1558)
OKLCHoklch(60.26% 0.156 272.2)
XYZxyz(24.6807, 21.0090, 71.1472)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6277DD #DDC862
analogous
#62B5DD #6277DD #8A62DD
triadic
#6277DD #DD6277 #77DD62
tetradic
#6277DD #DD62B5 #DDC862 #62DD8A
square
#6277DD #DD62B5 #DDC862 #62DD8A
split-complementary
#6277DD #DD8A62 #B5DD62
monochromatic
#2339A2 #304BD2 #6277DD #94A3E8 #C7CEF3

Accessibility & contrast

On white

4.04
#6277DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#6277DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6277DD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6277DD#FFFFFF#000000##000000
##6277DD1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E1
Deuteranopia (green-blind)
#3779DB
Tritanopia (blue-blind)
#198E9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6277dd;
/* rgb */ color: rgb(98, 119, 221);
/* oklch */ color: oklch(60.3% 0.156 272.2);
Tailwind
colors: {
  custom: {
    50: '#979de8',
    500: '#6277dd',
    950: '#000000',
  },
}
SCSS
$custom: #6277dd;
$custom-light: #979de8;
$custom-dark: #000000;
JSON
{
  "hex": "#6277dd",
  "rgb": {
    "r": 98,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 229.756,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60258,
    "c": 0.1559,
    "h": 272.2
  },
  "luminance": 0.21011
}

Semantic roles & 50–950 ramp

primary
#6277DD
secondary
#E4DCB7
accent
#AE19CC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6277DD

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

Preview Lab → · Contrast checker → · Palette generator →

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