#6281AF#6281AF

#6281AF is a mid, moderate blue. Relative luminance 0.214; OKLCH L 59.8% C 0.079 H 258.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6281AF
RGBrgb(98, 129, 175)
HSLhsl(216, 32%, 54%)
HSVhsv(216, 44%, 69%)
CMYKcmyk(44%, 26.3%, 0%, 31.4%)
CIE-LABlab(53.37, 1.42, -27.79)
CIE-LCHlch(53.37, 27.83, 272.92°)
OKLaboklab(59.82% -0.0164 -0.0775)
OKLCHoklch(59.82% 0.079 258.1)
XYZxyz(20.6226, 21.3911, 43.5914)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281AF #AF9062
analogous
#62A7AF #6281AF #6962AF
triadic
#6281AF #AF6281 #81AF62
tetradic
#6281AF #AF62A7 #AF9062 #62AF69
square
#6281AF #AF62A7 #AF9062 #62AF69
split-complementary
#6281AF #AF6962 #A7AF62
monochromatic
#334764 #47638C #6281AF #8BA2C4 #B3C2D8

Accessibility & contrast

On white

3.98
#6281AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6281AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281AF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281AF#FFFFFF#000000##000000
##6281AF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7084B1
Deuteranopia (green-blind)
#677CAE
Tritanopia (blue-blind)
#458B91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6281af;
/* rgb */ color: rgb(98, 129, 175);
/* oklch */ color: oklch(59.8% 0.079 258.1);
Tailwind
colors: {
  custom: {
    50: '#92a5c7',
    500: '#6281af',
    950: '#000000',
  },
}
SCSS
$custom: #6281af;
$custom-light: #92a5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6281af",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 175
  },
  "hsl": {
    "h": 215.844,
    "s": 32.489,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59824,
    "c": 0.07921,
    "h": 258.1
  },
  "luminance": 0.21392
}

Semantic roles & 50–950 ramp

primary
#6281AF
secondary
#C7BAA6
accent
#9E5FC9
background
#F9FAFC
surface
#F1F4F8
border
#CBCED1
text
#0D0F13
muted
#7E7F82

Preview Lab

Preview with #6281AF

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

Preview Lab → · Contrast checker → · Palette generator →

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