#6181EB#6181EB

#6181EB is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.1% C 0.163 H 268.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6181EB
RGBrgb(97, 129, 235)
HSLhsl(226, 78%, 65%)
HSVhsv(226, 59%, 92%)
CMYKcmyk(58.7%, 45.1%, 0%, 7.8%)
CIE-LABlab(56.33, 20.03, -57.11)
CIE-LCHlch(56.33, 60.52, 289.33°)
OKLaboklab(63.07% -0.0035 -0.1629)
OKLCHoklch(63.07% 0.163 268.8)
XYZxyz(27.7704, 24.2378, 81.7961)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6181EB #EBCB61
analogous
#61C6EB #6181EB #8661EB
triadic
#6181EB #EB6181 #81EB61
tetradic
#6181EB #EB61C6 #EBCB61 #61EB86
square
#6181EB #EB61C6 #EBCB61 #61EB86
split-complementary
#6181EB #EB8661 #C6EB61
monochromatic
#183DBA #2B56E4 #6181EB #97ACF2 #CED8F9

Accessibility & contrast

On white

3.59
#6181EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#6181EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6181EB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6181EB#FFFFFF#000000##000000
##6181EB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EEF
Deuteranopia (green-blind)
#3B81E9
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6181eb;
/* rgb */ color: rgb(97, 129, 235);
/* oklch */ color: oklch(63.1% 0.163 268.8);
Tailwind
colors: {
  custom: {
    50: '#99a5f2',
    500: '#6181eb',
    950: '#000000',
  },
}
SCSS
$custom: #6181eb;
$custom-light: #99a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6181eb",
  "rgb": {
    "r": 97,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 226.087,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63072,
    "c": 0.16296,
    "h": 268.8
  },
  "luminance": 0.2424
}

Semantic roles & 50–950 ramp

primary
#6181EB
secondary
#EBE0BD
accent
#AA0CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #6181EB

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

Preview Lab → · Contrast checker → · Palette generator →

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