#6187EC#6187EC

#6187EC is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.3% C 0.157 H 266.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6187EC
RGBrgb(97, 135, 236)
HSLhsl(224, 79%, 65%)
HSVhsv(224, 59%, 93%)
CMYKcmyk(58.9%, 42.8%, 0%, 7.5%)
CIE-LABlab(57.96, 16.74, -55.05)
CIE-LCHlch(57.96, 57.54, 286.92°)
OKLaboklab(64.35% -0.0095 -0.1568)
OKLCHoklch(64.35% 0.157 266.5)
XYZxyz(28.7289, 25.9231, 82.8303)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6187EC #ECC661
analogous
#61CDEC #6187EC #8061EC
triadic
#6187EC #EC6187 #87EC61
tetradic
#6187EC #EC61CD #ECC661 #61EC80
square
#6187EC #EC61CD #ECC661 #61EC80
split-complementary
#6187EC #EC8061 #CDEC61
monochromatic
#1744BC #2A5EE5 #6187EC #98B0F3 #CEDAF9

Accessibility & contrast

On white

3.40
#6187EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#6187EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6187EC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6187EC#FFFFFF#000000##000000
##6187EC1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#4685EA
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6187ec;
/* rgb */ color: rgb(97, 135, 236);
/* oklch */ color: oklch(64.3% 0.157 266.5);
Tailwind
colors: {
  custom: {
    50: '#99a9f3',
    500: '#6187ec',
    950: '#000000',
  },
}
SCSS
$custom: #6187ec;
$custom-light: #99a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6187ec",
  "rgb": {
    "r": 97,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 223.597,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64346,
    "c": 0.15709,
    "h": 266.5
  },
  "luminance": 0.25925
}

Semantic roles & 50–950 ramp

primary
#6187EC
secondary
#ECDFBD
accent
#A20BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #6187EC

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

Preview Lab → · Contrast checker → · Palette generator →

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