#6281D5#6281D5

#6281D5 is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.8% C 0.132 H 267.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6281D5
RGBrgb(98, 129, 213)
HSLhsl(224, 58%, 61%)
HSVhsv(224, 54%, 84%)
CMYKcmyk(54%, 39.4%, 0%, 16.5%)
CIE-LABlab(55.17, 13.12, -46.62)
CIE-LCHlch(55.17, 48.43, 285.71°)
OKLaboklab(61.81% -0.0064 -0.1321)
OKLCHoklch(61.81% 0.132 267.2)
XYZxyz(24.8935, 23.0995, 66.0847)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281D5 #D5B662
analogous
#62BAD5 #6281D5 #7C62D5
triadic
#6281D5 #D56281 #81D562
tetradic
#6281D5 #D562BA #D5B662 #62D57C
square
#6281D5 #D562BA #D5B662 #62D57C
split-complementary
#6281D5 #D57C62 #BAD562
monochromatic
#284595 #355CC5 #6281D5 #92A8E2 #C3CEEF

Accessibility & contrast

On white

3.74
#6281D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#6281D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281D5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281D5#FFFFFF#000000##000000
##6281D51.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8AD8
Deuteranopia (green-blind)
#517FD3
Tritanopia (blue-blind)
#2493A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6281d5;
/* rgb */ color: rgb(98, 129, 213);
/* oklch */ color: oklch(61.8% 0.132 267.2);
Tailwind
colors: {
  custom: {
    50: '#96a5e2',
    500: '#6281d5',
    950: '#000000',
  },
}
SCSS
$custom: #6281d5;
$custom-light: #96a5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6281d5",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 213
  },
  "hsl": {
    "h": 223.826,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61812,
    "c": 0.13229,
    "h": 267.2
  },
  "luminance": 0.23101
}

Semantic roles & 50–950 ramp

primary
#6281D5
secondary
#DFD3B4
accent
#9920C5
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6281D5

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

Preview Lab → · Contrast checker → · Palette generator →

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