#6971EB#6971EB

#6971EB is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.5% C 0.181 H 276.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6971EB
RGBrgb(105, 113, 235)
HSLhsl(236, 76%, 67%)
HSVhsv(236, 55%, 92%)
CMYKcmyk(55.3%, 51.9%, 0%, 7.8%)
CIE-LABlab(52.74, 31.25, -62.84)
CIE-LCHlch(52.74, 70.19, 296.44°)
OKLaboklab(60.48% 0.0212 -0.1797)
OKLCHoklch(60.48% 0.181 276.7)
XYZxyz(26.7214, 20.8098, 81.1898)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6971EB #EBE369
analogous
#69B2EB #6971EB #A269EB
triadic
#6971EB #EB6971 #71EB69
tetradic
#6971EB #EB69B2 #EBE369 #69EBA2
square
#6971EB #EB69B2 #EBE369 #69EBA2
split-complementary
#6971EB #EBA269 #B2EB69
monochromatic
#1A24C0 #333EE4 #6971EB #9FA4F2 #D5D7F9

Accessibility & contrast

On white

4.07
#6971EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6971EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6971EB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6971EB#FFFFFF#000000##000000
##6971EB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C83EF
Deuteranopia (green-blind)
#0F79E8
Tritanopia (blue-blind)
#228DA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6971eb;
/* rgb */ color: rgb(105, 113, 235);
/* oklch */ color: oklch(60.5% 0.181 276.7);
Tailwind
colors: {
  custom: {
    50: '#9e99f2',
    500: '#6971eb',
    950: '#000000',
  },
}
SCSS
$custom: #6971eb;
$custom-light: #9e99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6971eb",
  "rgb": {
    "r": 105,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 236.308,
    "s": 76.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60483,
    "c": 0.18099,
    "h": 276.7
  },
  "luminance": 0.20812
}

Semantic roles & 50–950 ramp

primary
#6971EB
secondary
#EDEAC3
accent
#CC0DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6971EB

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

Preview Lab → · Contrast checker → · Palette generator →

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