#6181CD#6181CD

#6181CD is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.3% C 0.121 H 265.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6181CD
RGBrgb(97, 129, 205)
HSLhsl(222, 52%, 59%)
HSVhsv(222, 53%, 80%)
CMYKcmyk(52.7%, 37.1%, 0%, 19.6%)
CIE-LABlab(54.71, 10.36, -42.84)
CIE-LCHlch(54.71, 44.07, 283.59°)
OKLaboklab(61.3% -0.0092 -0.1211)
OKLCHoklch(61.3% 0.121 265.7)
XYZxyz(23.7958, 22.6480, 60.8633)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6181CD #CDAD61
analogous
#61B7CD #6181CD #7761CD
triadic
#6181CD #CD6181 #81CD61
tetradic
#6181CD #CD61B7 #CDAD61 #61CD77
square
#6181CD #CD61B7 #CDAD61 #61CD77
split-complementary
#6181CD #CD7761 #B7CD61
monochromatic
#2B4788 #3A5FB7 #6181CD #8FA6DC #BECBEA

Accessibility & contrast

On white

3.80
#6181CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#6181CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6181CD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6181CD#FFFFFF#000000##000000
##6181CD1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388D0
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#2B919D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6181cd;
/* rgb */ color: rgb(97, 129, 205);
/* oklch */ color: oklch(61.3% 0.121 265.7);
Tailwind
colors: {
  custom: {
    50: '#95a5dc',
    500: '#6181cd',
    950: '#000000',
  },
}
SCSS
$custom: #6181cd;
$custom-light: #95a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6181cd",
  "rgb": {
    "r": 97,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 222.222,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61303,
    "c": 0.12146,
    "h": 265.7
  },
  "luminance": 0.2265
}

Semantic roles & 50–950 ramp

primary
#6181CD
secondary
#DACEB0
accent
#B14CDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6181CD

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

Preview Lab → · Contrast checker → · Palette generator →

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