#6181EF#6181EF

#6181EF is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.3% C 0.168 H 269.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6181EF
RGBrgb(97, 129, 239)
HSLhsl(226, 82%, 66%)
HSVhsv(226, 59%, 94%)
CMYKcmyk(59.4%, 46%, 0%, 6.3%)
CIE-LABlab(56.56, 21.35, -58.97)
CIE-LCHlch(56.56, 62.71, 289.90°)
OKLaboklab(63.32% -0.003 -0.1684)
OKLCHoklch(63.32% 0.168 269)
XYZxyz(28.3548, 24.4716, 84.8739)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6181EF #EFCF61
analogous
#61C8EF #6181EF #8861EF
triadic
#6181EF #EF6181 #81EF61
tetradic
#6181EF #EF61C8 #EFCF61 #61EF88
square
#6181EF #EF61C8 #EFCF61 #61EF88
split-complementary
#6181EF #EF8861 #C8EF61
monochromatic
#143BC2 #2955E9 #6181EF #99ADF5 #D0DAFA

Accessibility & contrast

On white

3.56
#6181EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#6181EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6181EF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6181EF#FFFFFF#000000##000000
##6181EF1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#3582ED
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6181ef;
/* rgb */ color: rgb(97, 129, 239);
/* oklch */ color: oklch(63.3% 0.168 269.0);
Tailwind
colors: {
  custom: {
    50: '#99a5f5',
    500: '#6181ef',
    950: '#000000',
  },
}
SCSS
$custom: #6181ef;
$custom-light: #99a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6181ef",
  "rgb": {
    "r": 97,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 226.479,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63324,
    "c": 0.1684,
    "h": 269
  },
  "luminance": 0.24474
}

Semantic roles & 50–950 ramp

primary
#6181EF
secondary
#EDE3BE
accent
#AE08DE
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6181EF

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

Preview Lab → · Contrast checker → · Palette generator →

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