#6281C2#6281C2

#6281C2 is a mid, moderate blue. Relative luminance 0.222; OKLCH L 60.8% C 0.106 H 264.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6281C2
RGBrgb(98, 129, 194)
HSLhsl(221, 44%, 57%)
HSVhsv(221, 49%, 76%)
CMYKcmyk(49.5%, 33.5%, 0%, 23.9%)
CIE-LABlab(54.23, 7.15, -37.34)
CIE-LCHlch(54.23, 38.02, 280.84°)
OKLaboklab(60.77% -0.0109 -0.1051)
OKLCHoklch(60.77% 0.106 264.1)
XYZxyz(22.6217, 22.1907, 54.1197)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281C2 #C2A362
analogous
#62B1C2 #6281C2 #7362C2
triadic
#6281C2 #C26281 #81C262
tetradic
#6281C2 #C262B1 #C2A362 #62C273
square
#6281C2 #C262B1 #C2A362 #62C273
split-complementary
#6281C2 #C27362 #B1C262
monochromatic
#2F487A #4161A6 #6281C2 #8EA4D3 #BAC8E4

Accessibility & contrast

On white

3.86
#6281C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#6281C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281C2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281C2#FFFFFF#000000##000000
##6281C21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6886C5
Deuteranopia (green-blind)
#5E7EC1
Tritanopia (blue-blind)
#388F99
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6281c2;
/* rgb */ color: rgb(98, 129, 194);
/* oklch */ color: oklch(60.8% 0.106 264.1);
Tailwind
colors: {
  custom: {
    50: '#94a5d4',
    500: '#6281c2',
    950: '#000000',
  },
}
SCSS
$custom: #6281c2;
$custom-light: #94a5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6281c2",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 194
  },
  "hsl": {
    "h": 220.625,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60771,
    "c": 0.10564,
    "h": 264.1
  },
  "luminance": 0.22192
}

Semantic roles & 50–950 ramp

primary
#6281C2
secondary
#D3C7AC
accent
#AB54D4
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E0F14
muted
#7E7F83

Preview Lab

Preview with #6281C2

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

Preview Lab → · Contrast checker → · Palette generator →

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