#6281B2#6281B2

#6281B2 is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.0% C 0.083 H 259.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6281B2
RGBrgb(98, 129, 178)
HSLhsl(217, 34%, 54%)
HSVhsv(217, 45%, 70%)
CMYKcmyk(44.9%, 27.5%, 0%, 30.2%)
CIE-LABlab(53.50, 2.31, -29.32)
CIE-LCHlch(53.50, 29.41, 274.50°)
OKLaboklab(59.97% -0.0154 -0.0819)
OKLCHoklch(59.97% 0.083 259.3)
XYZxyz(20.9205, 21.5103, 45.1604)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281B2 #B29362
analogous
#62A9B2 #6281B2 #6B62B2
triadic
#6281B2 #B26281 #81B262
tetradic
#6281B2 #B262A9 #B29362 #62B26B
square
#6281B2 #B262A9 #B29362 #62B26B
split-complementary
#6281B2 #B26B62 #A9B262
monochromatic
#334767 #476390 #6281B2 #8BA2C6 #B4C3DA

Accessibility & contrast

On white

3.96
#6281B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6281B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281B2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281B2#FFFFFF#000000##000000
##6281B21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F84B4
Deuteranopia (green-blind)
#667CB1
Tritanopia (blue-blind)
#438C92
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6281b2;
/* rgb */ color: rgb(98, 129, 178);
/* oklch */ color: oklch(60.0% 0.083 259.3);
Tailwind
colors: {
  custom: {
    50: '#92a5c9',
    500: '#6281b2',
    950: '#000000',
  },
}
SCSS
$custom: #6281b2;
$custom-light: #92a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6281b2",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 178
  },
  "hsl": {
    "h": 216.75,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59967,
    "c": 0.08332,
    "h": 259.3
  },
  "luminance": 0.21512
}

Semantic roles & 50–950 ramp

primary
#6281B2
secondary
#C9BCA7
accent
#A05ECA
background
#F9FAFC
surface
#F1F4F8
border
#CBCED1
text
#0D0F13
muted
#7E7F82

Preview Lab

Preview with #6281B2

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

Preview Lab → · Contrast checker → · Palette generator →

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