#6181CF#6181CF

#6181CF is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.4% C 0.124 H 266.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6181CF
RGBrgb(97, 129, 207)
HSLhsl(223, 53%, 60%)
HSVhsv(223, 53%, 81%)
CMYKcmyk(53.1%, 37.7%, 0%, 18.8%)
CIE-LABlab(54.81, 10.99, -43.81)
CIE-LCHlch(54.81, 45.17, 284.08°)
OKLaboklab(61.41% -0.0087 -0.1239)
OKLCHoklch(61.41% 0.124 266)
XYZxyz(24.0388, 22.7452, 62.1429)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6181CF #CFAF61
analogous
#61B8CF #6181CF #7861CF
triadic
#6181CF #CF6181 #81CF61
tetradic
#6181CF #CF61B8 #CFAF61 #61CF78
square
#6181CF #CF61B8 #CFAF61 #61CF78
split-complementary
#6181CF #CF7861 #B8CF61
monochromatic
#2A478B #395EBA #6181CF #90A6DD #BFCCEC

Accessibility & contrast

On white

3.78
#6181CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#6181CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6181CF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6181CF#FFFFFF#000000##000000
##6181CF1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6289D2
Deuteranopia (green-blind)
#557FCD
Tritanopia (blue-blind)
#28929E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6181cf;
/* rgb */ color: rgb(97, 129, 207);
/* oklch */ color: oklch(61.4% 0.124 266.0);
Tailwind
colors: {
  custom: {
    50: '#95a5de',
    500: '#6181cf',
    950: '#000000',
  },
}
SCSS
$custom: #6181cf;
$custom-light: #95a5de;
$custom-dark: #000000;
JSON
{
  "hex": "#6181cf",
  "rgb": {
    "r": 97,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 222.545,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61414,
    "c": 0.12426,
    "h": 266
  },
  "luminance": 0.22747
}

Semantic roles & 50–950 ramp

primary
#6181CF
secondary
#DBCFB1
accent
#B24BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6181CF

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

Preview Lab → · Contrast checker → · Palette generator →

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