#6186E7#6186E7

#6186E7 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.8% C 0.151 H 266.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6186E7
RGBrgb(97, 134, 231)
HSLhsl(223, 74%, 64%)
HSVhsv(223, 58%, 91%)
CMYKcmyk(58%, 42%, 0%, 9.4%)
CIE-LABlab(57.42, 15.71, -53.13)
CIE-LCHlch(57.42, 55.41, 286.47°)
OKLaboklab(63.84% -0.0094 -0.1512)
OKLCHoklch(63.84% 0.151 266.5)
XYZxyz(27.8738, 25.3588, 79.0117)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6186E7 #E7C261
analogous
#61C9E7 #6186E7 #7F61E7
triadic
#6186E7 #E76186 #86E761
tetradic
#6186E7 #E761C9 #E7C261 #61E77F
square
#6186E7 #E761C9 #E7C261 #61E77F
split-complementary
#6186E7 #E77F61 #C9E761
monochromatic
#1B45B2 #2C5DDF #6186E7 #96AFEF #CBD7F7

Accessibility & contrast

On white

3.46
#6186E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#6186E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6186E7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6186E7#FFFFFF#000000##000000
##6186E71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B90EB
Deuteranopia (green-blind)
#4984E5
Tritanopia (blue-blind)
#009CAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6186e7;
/* rgb */ color: rgb(97, 134, 231);
/* oklch */ color: oklch(63.8% 0.151 266.5);
Tailwind
colors: {
  custom: {
    50: '#98a8ef',
    500: '#6186e7',
    950: '#000000',
  },
}
SCSS
$custom: #6186e7;
$custom-light: #98a8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6186e7",
  "rgb": {
    "r": 97,
    "g": 134,
    "b": 231
  },
  "hsl": {
    "h": 223.433,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63841,
    "c": 0.15147,
    "h": 266.5
  },
  "luminance": 0.25361
}

Semantic roles & 50–950 ramp

primary
#6186E7
secondary
#E9DCBB
accent
#9F10D6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F16
muted
#7E7F84

Preview Lab

Preview with #6186E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6186E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva