#6187EB#6187EB

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

Color values

HEX#6187EB
RGBrgb(97, 135, 235)
HSLhsl(223, 78%, 65%)
HSVhsv(223, 59%, 92%)
CMYKcmyk(58.7%, 42.6%, 0%, 7.8%)
CIE-LABlab(57.91, 16.42, -54.58)
CIE-LCHlch(57.91, 57.00, 286.74°)
OKLaboklab(64.29% -0.0097 -0.1554)
OKLCHoklch(64.29% 0.156 266.4)
XYZxyz(28.5840, 25.8651, 82.0673)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6187EB #EBC561
analogous
#61CCEB #6187EB #8061EB
triadic
#6187EB #EB6187 #87EB61
tetradic
#6187EB #EB61CC #EBC561 #61EB80
square
#6187EB #EB61CC #EBC561 #61EB80
split-complementary
#6187EB #EB8061 #CCEB61
monochromatic
#1844BA #2B5EE4 #6187EB #97B0F2 #CEDAF9

Accessibility & contrast

On white

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

On black

6.17
#6187EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6187EB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6187EB#FFFFFF#000000##000000
##6187EB1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92EF
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6187eb;
/* rgb */ color: rgb(97, 135, 235);
/* oklch */ color: oklch(64.3% 0.156 266.4);
Tailwind
colors: {
  custom: {
    50: '#98a9f2',
    500: '#6187eb',
    950: '#000000',
  },
}
SCSS
$custom: #6187eb;
$custom-light: #98a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6187eb",
  "rgb": {
    "r": 97,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 223.478,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64285,
    "c": 0.15573,
    "h": 266.4
  },
  "luminance": 0.25867
}

Semantic roles & 50–950 ramp

primary
#6187EB
secondary
#EBDEBD
accent
#A10CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #6187EB

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

Preview Lab → · Contrast checker → · Palette generator →

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