#6281D8#6281D8

#6281D8 is a mid, vivid blue. Relative luminance 0.233; OKLCH L 62.0% C 0.136 H 267.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6281D8
RGBrgb(98, 129, 216)
HSLhsl(224, 60%, 62%)
HSVhsv(224, 55%, 85%)
CMYKcmyk(54.6%, 40.3%, 0%, 15.3%)
CIE-LABlab(55.33, 14.08, -48.06)
CIE-LCHlch(55.33, 50.08, 286.32°)
OKLaboklab(61.99% -0.0058 -0.1363)
OKLCHoklch(61.99% 0.136 267.6)
XYZxyz(25.2778, 23.2532, 68.1087)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281D8 #D8B962
analogous
#62BCD8 #6281D8 #7E62D8
triadic
#6281D8 #D86281 #81D862
tetradic
#6281D8 #D862BC #D8B962 #62D87E
square
#6281D8 #D862BC #D8B962 #62D87E
split-complementary
#6281D8 #D87E62 #BCD862
monochromatic
#264499 #325ACA #6281D8 #93A8E4 #C4D0F0

Accessibility & contrast

On white

3.72
#6281D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#6281D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281D8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281D8#FFFFFF#000000##000000
##6281D81.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8ADB
Deuteranopia (green-blind)
#4F80D6
Tritanopia (blue-blind)
#1F94A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6281d8;
/* rgb */ color: rgb(98, 129, 216);
/* oklch */ color: oklch(62.0% 0.136 267.6);
Tailwind
colors: {
  custom: {
    50: '#96a5e4',
    500: '#6281d8',
    950: '#000000',
  },
}
SCSS
$custom: #6281d8;
$custom-light: #96a5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6281d8",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 216
  },
  "hsl": {
    "h": 224.237,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61985,
    "c": 0.13646,
    "h": 267.6
  },
  "luminance": 0.23255
}

Semantic roles & 50–950 ramp

primary
#6281D8
secondary
#E1D5B5
accent
#9B1EC8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F15
muted
#7E7F84

Preview Lab

Preview with #6281D8

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

Preview Lab → · Contrast checker → · Palette generator →

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