#6187FE#6187FE

#6187FE is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.5% C 0.181 H 267.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6187FE
RGBrgb(97, 135, 254)
HSLhsl(225, 99%, 69%)
HSVhsv(225, 62%, 100%)
CMYKcmyk(61.8%, 46.9%, 0%, 0.4%)
CIE-LABlab(58.99, 22.68, -63.34)
CIE-LCHlch(58.99, 67.28, 289.70°)
OKLaboklab(65.47% -0.0068 -0.1812)
OKLCHoklch(65.47% 0.181 267.8)
XYZxyz(31.4770, 27.0223, 97.3038)
Luminance0.2702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6187FE #FED861
analogous
#61D5FE #6187FE #8A61FE
triadic
#6187FE #FE6187 #87FE61
tetradic
#6187FE #FE61D5 #FED861 #61FE8A
square
#6187FE #FE61D5 #FED861 #61FE8A
split-complementary
#6187FE #FE8A61 #D5FE61
monochromatic
#0138E3 #2459FE #6187FE #9EB5FE #DBE3FF

Accessibility & contrast

On white

3.28
#6187FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#6187FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6187FE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6187FE#FFFFFF#000000##000000
##6187FE1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#2D87FC
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6187fe;
/* rgb */ color: rgb(97, 135, 254);
/* oklch */ color: oklch(65.5% 0.181 267.8);
Tailwind
colors: {
  custom: {
    50: '#9ba9ff',
    500: '#6187fe',
    950: '#000000',
  },
}
SCSS
$custom: #6187fe;
$custom-light: #9ba9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6187fe",
  "rgb": {
    "r": 97,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 225.478,
    "s": 98.742,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65468,
    "c": 0.18129,
    "h": 267.8
  },
  "luminance": 0.27025
}

Semantic roles & 50–950 ramp

primary
#6187FE
secondary
#F5E9C6
accent
#AE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #6187FE

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

Preview Lab → · Contrast checker → · Palette generator →

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