#6281D7#6281D7

#6281D7 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.9% C 0.135 H 267.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6281D7
RGBrgb(98, 129, 215)
HSLhsl(224, 59%, 61%)
HSVhsv(224, 54%, 84%)
CMYKcmyk(54.4%, 40%, 0%, 15.7%)
CIE-LABlab(55.28, 13.76, -47.58)
CIE-LCHlch(55.28, 49.53, 286.12°)
OKLaboklab(61.93% -0.006 -0.1349)
OKLCHoklch(61.93% 0.135 267.4)
XYZxyz(25.1489, 23.2016, 67.4299)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281D7 #D7B862
analogous
#62BCD7 #6281D7 #7E62D7
triadic
#6281D7 #D76281 #81D762
tetradic
#6281D7 #D762BC #D7B862 #62D77E
square
#6281D7 #D762BC #D7B862 #62D77E
split-complementary
#6281D7 #D77E62 #BCD762
monochromatic
#274598 #335BC9 #6281D7 #93A8E3 #C4CFF0

Accessibility & contrast

On white

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

On black

5.64
#6281D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281D7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281D7#FFFFFF#000000##000000
##6281D71.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8ADA
Deuteranopia (green-blind)
#4F80D5
Tritanopia (blue-blind)
#2194A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6281d7;
/* rgb */ color: rgb(98, 129, 215);
/* oklch */ color: oklch(61.9% 0.135 267.4);
Tailwind
colors: {
  custom: {
    50: '#96a5e4',
    500: '#6281d7',
    950: '#000000',
  },
}
SCSS
$custom: #6281d7;
$custom-light: #96a5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6281d7",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 215
  },
  "hsl": {
    "h": 224.103,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61927,
    "c": 0.13507,
    "h": 267.4
  },
  "luminance": 0.23203
}

Semantic roles & 50–950 ramp

primary
#6281D7
secondary
#E0D5B5
accent
#9A1EC7
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F15
muted
#7E7F84

Preview Lab

Preview with #6281D7

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

Preview Lab → · Contrast checker → · Palette generator →

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