#7181DB#7181DB

#7181DB is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.1% C 0.136 H 274.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7181DB
RGBrgb(113, 129, 219)
HSLhsl(231, 60%, 65%)
HSVhsv(231, 48%, 86%)
CMYKcmyk(48.4%, 41.1%, 0%, 14.1%)
CIE-LABlab(56.41, 18.35, -47.98)
CIE-LCHlch(56.41, 51.37, 290.94°)
OKLaboklab(63.11% 0.0101 -0.1358)
OKLCHoklch(63.11% 0.136 274.2)
XYZxyz(27.4425, 24.3241, 70.2531)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7181DB #DBCB71
analogous
#71B6DB #7181DB #9671DB
triadic
#7181DB #DB7181 #81DB71
tetradic
#7181DB #DB71B6 #DBCB71 #71DB96
square
#7181DB #DB71B6 #DBCB71 #71DB96
split-complementary
#7181DB #DB9671 #B6DB71
monochromatic
#2A3DA7 #4056CF #7181DB #A2ACE7 #D3D8F4

Accessibility & contrast

On white

3.58
#7181DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7181DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7181DB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7181DB#FFFFFF#000000##000000
##7181DB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8CDE
Deuteranopia (green-blind)
#5483D9
Tritanopia (blue-blind)
#4794A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7181db;
/* rgb */ color: rgb(113, 129, 219);
/* oklch */ color: oklch(63.1% 0.136 274.2);
Tailwind
colors: {
  custom: {
    50: '#9fa5e6',
    500: '#7181db',
    950: '#000000',
  },
}
SCSS
$custom: #7181db;
$custom-light: #9fa5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7181db",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 230.943,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63105,
    "c": 0.13617,
    "h": 274.2
  },
  "luminance": 0.24326
}

Semantic roles & 50–950 ramp

primary
#7181DB
secondary
#E6E0C2
accent
#AE1EC7
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #7181DB

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

Preview Lab → · Contrast checker → · Palette generator →

#7181DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva