#6281CD#6281CD

#6281CD is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.4% C 0.121 H 266.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6281CD
RGBrgb(98, 129, 205)
HSLhsl(223, 52%, 59%)
HSVhsv(223, 52%, 80%)
CMYKcmyk(52.2%, 37.1%, 0%, 19.6%)
CIE-LABlab(54.77, 10.58, -42.75)
CIE-LCHlch(54.77, 44.04, 283.90°)
OKLaboklab(61.36% -0.0082 -0.1208)
OKLCHoklch(61.36% 0.121 266.1)
XYZxyz(23.9031, 22.7033, 60.8684)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281CD #CDAE62
analogous
#62B7CD #6281CD #7962CD
triadic
#6281CD #CD6281 #81CD62
tetradic
#6281CD #CD62B7 #CDAE62 #62CD79
square
#6281CD #CD62B7 #CDAE62 #62CD79
split-complementary
#6281CD #CD7962 #B7CD62
monochromatic
#2C4789 #3A5FB7 #6281CD #90A6DC #BFCCEB

Accessibility & contrast

On white

3.79
#6281CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#6281CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281CD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281CD#FFFFFF#000000##000000
##6281CD1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388D0
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#2E919D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6281cd;
/* rgb */ color: rgb(98, 129, 205);
/* oklch */ color: oklch(61.4% 0.121 266.1);
Tailwind
colors: {
  custom: {
    50: '#95a5dc',
    500: '#6281cd',
    950: '#000000',
  },
}
SCSS
$custom: #6281cd;
$custom-light: #95a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6281cd",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 222.617,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61363,
    "c": 0.1211,
    "h": 266.1
  },
  "luminance": 0.22705
}

Semantic roles & 50–950 ramp

primary
#6281CD
secondary
#DACEB1
accent
#B24DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6281CD

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

Preview Lab → · Contrast checker → · Palette generator →

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