#6187F2#6187F2

#6187F2 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.7% C 0.165 H 267.0°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6187F2
RGBrgb(97, 135, 242)
HSLhsl(224, 85%, 66%)
HSVhsv(224, 60%, 95%)
CMYKcmyk(59.9%, 44.2%, 0%, 5.1%)
CIE-LABlab(58.30, 18.71, -57.84)
CIE-LCHlch(58.30, 60.79, 287.93°)
OKLaboklab(64.71% -0.0085 -0.165)
OKLCHoklch(64.71% 0.165 267)
XYZxyz(29.6153, 26.2776, 87.4986)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6187F2 #F2CC61
analogous
#61D0F2 #6187F2 #8461F2
triadic
#6187F2 #F26187 #87F261
tetradic
#6187F2 #F261D0 #F2CC61 #61F284
square
#6187F2 #F261D0 #F2CC61 #61F284
split-complementary
#6187F2 #F28461 #D0F261
monochromatic
#1041C8 #285CED #6187F2 #9AB2F7 #D2DDFB

Accessibility & contrast

On white

3.36
#6187F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#6187F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6187F2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6187F2#FFFFFF#000000##000000
##6187F21.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#3F86F0
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6187f2;
/* rgb */ color: rgb(97, 135, 242);
/* oklch */ color: oklch(64.7% 0.165 267.0);
Tailwind
colors: {
  custom: {
    50: '#99a9f7',
    500: '#6187f2',
    950: '#000000',
  },
}
SCSS
$custom: #6187f2;
$custom-light: #99a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6187f2",
  "rgb": {
    "r": 97,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 224.276,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64712,
    "c": 0.1652,
    "h": 267
  },
  "luminance": 0.2628
}

Semantic roles & 50–950 ramp

primary
#6187F2
secondary
#EFE3C0
accent
#A704E1
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6187F2

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

Preview Lab → · Contrast checker → · Palette generator →

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