#6281CE#6281CE

#6281CE is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.4% C 0.122 H 266.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6281CE
RGBrgb(98, 129, 206)
HSLhsl(223, 52%, 60%)
HSVhsv(223, 52%, 81%)
CMYKcmyk(52.4%, 37.4%, 0%, 19.2%)
CIE-LABlab(54.82, 10.90, -43.23)
CIE-LCHlch(54.82, 44.58, 284.14°)
OKLaboklab(61.42% -0.0079 -0.1222)
OKLCHoklch(61.42% 0.123 266.3)
XYZxyz(24.0241, 22.7517, 61.5061)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281CE #CEAF62
analogous
#62B7CE #6281CE #7962CE
triadic
#6281CE #CE6281 #81CE62
tetradic
#6281CE #CE62B7 #CEAF62 #62CE79
square
#6281CE #CE62B7 #CEAF62 #62CE79
split-complementary
#6281CE #CE7962 #B7CE62
monochromatic
#2B478A #3A5EB9 #6281CE #91A6DD #BFCCEB

Accessibility & contrast

On white

3.78
#6281CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#6281CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281CE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281CE#FFFFFF#000000##000000
##6281CE1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6288D1
Deuteranopia (green-blind)
#567FCC
Tritanopia (blue-blind)
#2D929E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6281ce;
/* rgb */ color: rgb(98, 129, 206);
/* oklch */ color: oklch(61.4% 0.122 266.3);
Tailwind
colors: {
  custom: {
    50: '#95a5dd',
    500: '#6281ce',
    950: '#000000',
  },
}
SCSS
$custom: #6281ce;
$custom-light: #95a5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6281ce",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 222.778,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61418,
    "c": 0.1225,
    "h": 266.3
  },
  "luminance": 0.22753
}

Semantic roles & 50–950 ramp

primary
#6281CE
secondary
#DBCFB1
accent
#B34CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6281CE

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

Preview Lab → · Contrast checker → · Palette generator →

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