#6187EA#6187EA

#6187EA is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.2% C 0.154 H 266.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6187EA
RGBrgb(97, 135, 234)
HSLhsl(223, 77%, 65%)
HSVhsv(223, 59%, 92%)
CMYKcmyk(58.5%, 42.3%, 0%, 8.2%)
CIE-LABlab(57.85, 16.09, -54.12)
CIE-LCHlch(57.85, 56.46, 286.56°)
OKLaboklab(64.22% -0.0099 -0.154)
OKLCHoklch(64.22% 0.154 266.3)
XYZxyz(28.4400, 25.8075, 81.3086)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6187EA #EAC461
analogous
#61CBEA #6187EA #8061EA
triadic
#6187EA #EA6187 #87EA61
tetradic
#6187EA #EA61CB #EAC461 #61EA80
square
#6187EA #EA61CB #EAC461 #61EA80
split-complementary
#6187EA #EA8061 #CBEA61
monochromatic
#1845B8 #2B5EE3 #6187EA #97B0F1 #CDD9F8

Accessibility & contrast

On white

3.41
#6187EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#6187EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6187EA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6187EA#FFFFFF#000000##000000
##6187EA1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EE
Deuteranopia (green-blind)
#4885E8
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6187ea;
/* rgb */ color: rgb(97, 135, 234);
/* oklch */ color: oklch(64.2% 0.154 266.3);
Tailwind
colors: {
  custom: {
    50: '#98a9f1',
    500: '#6187ea',
    950: '#000000',
  },
}
SCSS
$custom: #6187ea;
$custom-light: #98a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6187ea",
  "rgb": {
    "r": 97,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 223.358,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64225,
    "c": 0.15437,
    "h": 266.3
  },
  "luminance": 0.2581
}

Semantic roles & 50–950 ramp

primary
#6187EA
secondary
#EBDEBC
accent
#A00DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #6187EA

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

Preview Lab → · Contrast checker → · Palette generator →

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