#6181D2#6181D2

#6181D2 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.6% C 0.128 H 266.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6181D2
RGBrgb(97, 129, 210)
HSLhsl(223, 56%, 60%)
HSVhsv(223, 54%, 82%)
CMYKcmyk(53.8%, 38.6%, 0%, 17.6%)
CIE-LABlab(54.96, 11.94, -45.27)
CIE-LCHlch(54.96, 46.82, 284.78°)
OKLaboklab(61.58% -0.008 -0.1282)
OKLCHoklch(61.58% 0.128 266.4)
XYZxyz(24.4090, 22.8933, 64.0929)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6181D2 #D2B261
analogous
#61B9D2 #6181D2 #7A61D2
triadic
#6181D2 #D26181 #81D261
tetradic
#6181D2 #D261B9 #D2B261 #61D27A
square
#6181D2 #D261B9 #D2B261 #61D27A
split-complementary
#6181D2 #D27A61 #B9D261
monochromatic
#294690 #365DBF #6181D2 #91A7E0 #C0CDED

Accessibility & contrast

On white

3.76
#6181D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#6181D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6181D2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6181D2#FFFFFF#000000##000000
##6181D21.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6089D5
Deuteranopia (green-blind)
#537FD0
Tritanopia (blue-blind)
#24939F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6181d2;
/* rgb */ color: rgb(97, 129, 210);
/* oklch */ color: oklch(61.6% 0.128 266.4);
Tailwind
colors: {
  custom: {
    50: '#95a5e0',
    500: '#6181d2',
    950: '#000000',
  },
}
SCSS
$custom: #6181d2;
$custom-light: #95a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6181d2",
  "rgb": {
    "r": 97,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 223.009,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61583,
    "c": 0.12845,
    "h": 266.4
  },
  "luminance": 0.22895
}

Semantic roles & 50–950 ramp

primary
#6181D2
secondary
#DDD1B2
accent
#9622C3
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6181D2

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

Preview Lab → · Contrast checker → · Palette generator →

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