#6281CB#6281CB

#6281CB is a mid, moderate blue. Relative luminance 0.226; OKLCH L 61.3% C 0.118 H 265.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6281CB
RGBrgb(98, 129, 203)
HSLhsl(222, 50%, 59%)
HSVhsv(222, 52%, 80%)
CMYKcmyk(51.7%, 36.5%, 0%, 20.4%)
CIE-LABlab(54.67, 9.95, -41.77)
CIE-LCHlch(54.67, 42.94, 283.40°)
OKLaboklab(61.25% -0.0086 -0.118)
OKLCHoklch(61.25% 0.118 265.8)
XYZxyz(23.6632, 22.6073, 59.6050)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281CB #CBAC62
analogous
#62B6CB #6281CB #7862CB
triadic
#6281CB #CB6281 #81CB62
tetradic
#6281CB #CB62B6 #CBAC62 #62CB78
square
#6281CB #CB62B6 #CBAC62 #62CB78
split-complementary
#6281CB #CB7862 #B6CB62
monochromatic
#2C4786 #3C5FB4 #6281CB #90A6DA #BECBE9

Accessibility & contrast

On white

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

On black

5.52
#6281CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281CB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281CB#FFFFFF#000000##000000
##6281CB1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CE
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#30919C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6281cb;
/* rgb */ color: rgb(98, 129, 203);
/* oklch */ color: oklch(61.3% 0.118 265.8);
Tailwind
colors: {
  custom: {
    50: '#95a5db',
    500: '#6281cb',
    950: '#000000',
  },
}
SCSS
$custom: #6281cb;
$custom-light: #95a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#6281cb",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 222.286,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61253,
    "c": 0.11829,
    "h": 265.8
  },
  "luminance": 0.22609
}

Semantic roles & 50–950 ramp

primary
#6281CB
secondary
#D9CDB0
accent
#B14EDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6281CB

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

Preview Lab → · Contrast checker → · Palette generator →

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