#6957EB#6957EB

#6957EB is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.214 H 282.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6957EB
RGBrgb(105, 87, 235)
HSLhsl(247, 79%, 63%)
HSVhsv(247, 63%, 92%)
CMYKcmyk(55.3%, 63%, 0%, 7.8%)
CIE-LABlab(46.73, 46.61, -72.58)
CIE-LCHlch(46.73, 86.26, 302.71°)
OKLaboklab(56.04% 0.0464 -0.2085)
OKLCHoklch(56.04% 0.214 282.5)
XYZxyz(24.2247, 15.8163, 80.3575)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6957EB #D9EB57
analogous
#578FEB #6957EB #B357EB
triadic
#6957EB #EB6957 #57EB69
tetradic
#6957EB #EB578F #D9EB57 #57EBB3
square
#6957EB #EB578F #D9EB57 #57EBB3
split-complementary
#6957EB #EBB357 #8FEB57
monochromatic
#2815B2 #3820E4 #6957EB #9A8EF2 #CBC4F8

Accessibility & contrast

On white

5.04
#6957EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6957EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6957EB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6957EB#FFFFFF#000000##FFFFFF
##6957EB1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#287C99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6957eb;
/* rgb */ color: rgb(105, 87, 235);
/* oklch */ color: oklch(56.0% 0.214 282.5);
Tailwind
colors: {
  custom: {
    50: '#9f87f2',
    500: '#6957eb',
    950: '#000000',
  },
}
SCSS
$custom: #6957eb;
$custom-light: #9f87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6957eb",
  "rgb": {
    "r": 105,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 247.297,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56039,
    "c": 0.21365,
    "h": 282.5
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#6957EB
secondary
#E3E9B4
accent
#DB0AC2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6957EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6957EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva