#6281CC#6281CC

#6281CC is a mid, moderate blue. Relative luminance 0.227; OKLCH L 61.3% C 0.120 H 266.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6281CC
RGBrgb(98, 129, 204)
HSLhsl(222, 51%, 59%)
HSVhsv(222, 52%, 80%)
CMYKcmyk(52%, 36.8%, 0%, 20%)
CIE-LABlab(54.72, 10.27, -42.26)
CIE-LCHlch(54.72, 43.49, 283.65°)
OKLaboklab(61.31% -0.0084 -0.1194)
OKLCHoklch(61.31% 0.12 266)
XYZxyz(23.7827, 22.6551, 60.2347)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281CC #CCAD62
analogous
#62B6CC #6281CC #7862CC
triadic
#6281CC #CC6281 #81CC62
tetradic
#6281CC #CC62B6 #CCAD62 #62CC78
square
#6281CC #CC62B6 #CCAD62 #62CC78
split-complementary
#6281CC #CC7862 #B6CC62
monochromatic
#2C4788 #3B5FB6 #6281CC #90A6DB #BECBEA

Accessibility & contrast

On white

3.80
#6281CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#6281CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281CC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281CC#FFFFFF#000000##000000
##6281CC1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388CF
Deuteranopia (green-blind)
#577FCA
Tritanopia (blue-blind)
#2F919D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6281cc;
/* rgb */ color: rgb(98, 129, 204);
/* oklch */ color: oklch(61.3% 0.120 266.0);
Tailwind
colors: {
  custom: {
    50: '#95a5dc',
    500: '#6281cc',
    950: '#000000',
  },
}
SCSS
$custom: #6281cc;
$custom-light: #95a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6281cc",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 222.453,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61307,
    "c": 0.1197,
    "h": 266
  },
  "luminance": 0.22657
}

Semantic roles & 50–950 ramp

primary
#6281CC
secondary
#DACEB0
accent
#B14DDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6281CC

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

Preview Lab → · Contrast checker → · Palette generator →

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