#6187DC#6187DC

#6187DC is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.4% C 0.135 H 264.6°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6187DC
RGBrgb(97, 135, 220)
HSLhsl(221, 64%, 62%)
HSVhsv(221, 56%, 86%)
CMYKcmyk(55.9%, 38.6%, 0%, 13.7%)
CIE-LABlab(57.11, 11.55, -47.49)
CIE-LCHlch(57.11, 48.87, 283.67°)
OKLaboklab(63.41% -0.0126 -0.1346)
OKLCHoklch(63.41% 0.135 264.6)
XYZxyz(26.5076, 25.0346, 71.1316)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6187DC #DCB661
analogous
#61C5DC #6187DC #7861DC
triadic
#6187DC #DC6187 #87DC61
tetradic
#6187DC #DC61C5 #DCB661 #61DC78
square
#6187DC #DC61C5 #DCB661 #61DC78
split-complementary
#6187DC #DC7861 #C5DC61
monochromatic
#234A9F #2F61D1 #6187DC #93ADE7 #C5D3F2

Accessibility & contrast

On white

3.50
#6187DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#6187DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6187DC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6187DC#FFFFFF#000000##000000
##6187DC1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDF
Deuteranopia (green-blind)
#5484DA
Tritanopia (blue-blind)
#0C9AA7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6187dc;
/* rgb */ color: rgb(97, 135, 220);
/* oklch */ color: oklch(63.4% 0.135 264.6);
Tailwind
colors: {
  custom: {
    50: '#96a9e7',
    500: '#6187dc',
    950: '#000000',
  },
}
SCSS
$custom: #6187dc;
$custom-light: #96a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6187dc",
  "rgb": {
    "r": 97,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 221.463,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63409,
    "c": 0.13523,
    "h": 264.6
  },
  "luminance": 0.25037
}

Semantic roles & 50–950 ramp

primary
#6187DC
secondary
#E3D5B6
accent
#951ACC
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #6187DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6187DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva