#6181F2#6181F2

#6181F2 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.5% C 0.172 H 269.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6181F2
RGBrgb(97, 129, 242)
HSLhsl(227, 85%, 66%)
HSVhsv(227, 60%, 95%)
CMYKcmyk(59.9%, 46.7%, 0%, 5.1%)
CIE-LABlab(56.73, 22.33, -60.35)
CIE-LCHlch(56.73, 64.35, 290.31°)
OKLaboklab(63.52% -0.0026 -0.1724)
OKLCHoklch(63.52% 0.172 269.1)
XYZxyz(28.8016, 24.6503, 87.2274)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6181F2 #F2D261
analogous
#61C9F2 #6181F2 #8A61F2
triadic
#6181F2 #F26181 #81F261
tetradic
#6181F2 #F261C9 #F2D261 #61F28A
square
#6181F2 #F261C9 #F2D261 #61F28A
split-complementary
#6181F2 #F28A61 #C9F261
monochromatic
#1039C8 #2854ED #6181F2 #9AAEF7 #D2DBFB

Accessibility & contrast

On white

3.54
#6181F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#6181F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6181F2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6181F2#FFFFFF#000000##000000
##6181F21.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#3182F0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6181f2;
/* rgb */ color: rgb(97, 129, 242);
/* oklch */ color: oklch(63.5% 0.172 269.1);
Tailwind
colors: {
  custom: {
    50: '#9aa5f7',
    500: '#6181f2',
    950: '#000000',
  },
}
SCSS
$custom: #6181f2;
$custom-light: #9aa5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6181f2",
  "rgb": {
    "r": 97,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 226.759,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63515,
    "c": 0.17245,
    "h": 269.1
  },
  "luminance": 0.24653
}

Semantic roles & 50–950 ramp

primary
#6181F2
secondary
#EFE5C0
accent
#B004E1
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6181F2

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

Preview Lab → · Contrast checker → · Palette generator →

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