#7182F2#7182F2

#7182F2 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.7% C 0.167 H 274.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7182F2
RGBrgb(113, 130, 242)
HSLhsl(232, 83%, 70%)
HSVhsv(232, 53%, 95%)
CMYKcmyk(53.3%, 46.3%, 0%, 5.1%)
CIE-LABlab(57.93, 24.83, -58.38)
CIE-LCHlch(57.93, 63.44, 293.04°)
OKLaboklab(64.67% 0.0125 -0.1663)
OKLCHoklch(64.67% 0.167 274.3)
XYZxyz(30.8145, 25.8847, 87.3597)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7182F2 #F2E171
analogous
#71C3F2 #7182F2 #A171F2
triadic
#7182F2 #F27182 #82F271
tetradic
#7182F2 #F271C3 #F2E171 #71F2A1
square
#7182F2 #F271C3 #F2E171 #71F2A1
split-complementary
#7182F2 #F2A171 #C3F271
monochromatic
#142DD5 #3951ED #7182F2 #A9B3F7 #E1E5FC

Accessibility & contrast

On white

3.40
#7182F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#7182F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7182F2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7182F2#FFFFFF#000000##000000
##7182F21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#3F86F0
Tritanopia (blue-blind)
#329BAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7182f2;
/* rgb */ color: rgb(113, 130, 242);
/* oklch */ color: oklch(64.7% 0.167 274.3);
Tailwind
colors: {
  custom: {
    50: '#a2a6f7',
    500: '#7182f2',
    950: '#000000',
  },
}
SCSS
$custom: #7182f2;
$custom-light: #a2a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7182f2",
  "rgb": {
    "r": 113,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 232.093,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6467,
    "c": 0.16677,
    "h": 274.3
  },
  "luminance": 0.25887
}

Semantic roles & 50–950 ramp

primary
#7182F2
secondary
#F2EDCD
accent
#C306E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7182F2

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

Preview Lab → · Contrast checker → · Palette generator →

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