#6957CB#6957CB

#6957CB is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.6% C 0.173 H 286.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6957CB
RGBrgb(105, 87, 203)
HSLhsl(249, 53%, 57%)
HSVhsv(249, 57%, 80%)
CMYKcmyk(48.3%, 57.1%, 0%, 20.4%)
CIE-LABlab(44.42, 37.02, -58.10)
CIE-LCHlch(44.42, 68.89, 302.50°)
OKLaboklab(53.62% 0.048 -0.166)
OKLCHoklch(53.62% 0.173 286.1)
XYZxyz(20.0102, 14.1305, 58.1614)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6957CB #B9CB57
analogous
#577FCB #6957CB #A357CB
triadic
#6957CB #CB6957 #57CB69
tetradic
#6957CB #CB577F #B9CB57 #57CBA3
square
#6957CB #CB577F #B9CB57 #57CBA3
split-complementary
#6957CB #CBA357 #7FCB57
monochromatic
#352880 #4936AF #6957CB #9386D9 #BCB4E8

Accessibility & contrast

On white

5.49
#6957CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6957CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6957CB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6957CB#FFFFFF#000000##FFFFFF
##6957CB1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#477188
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6957cb;
/* rgb */ color: rgb(105, 87, 203);
/* oklch */ color: oklch(53.6% 0.173 286.1);
Tailwind
colors: {
  custom: {
    50: '#9b87dc',
    500: '#6957cb',
    950: '#000000',
  },
}
SCSS
$custom: #6957cb;
$custom-light: #9b87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6957cb",
  "rgb": {
    "r": 105,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 249.31,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53615,
    "c": 0.17278,
    "h": 286.1
  },
  "luminance": 0.14131
}

Semantic roles & 50–950 ramp

primary
#6957CB
secondary
#CFD7A7
accent
#DC4CC6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6957CB

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

Preview Lab → · Contrast checker → · Palette generator →

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