#6958CA#6958CA

#6958CA is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.7% C 0.170 H 286.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6958CA
RGBrgb(105, 88, 202)
HSLhsl(249, 52%, 57%)
HSVhsv(249, 56%, 79%)
CMYKcmyk(48%, 56.4%, 0%, 20.8%)
CIE-LABlab(44.58, 36.12, -57.26)
CIE-LCHlch(44.58, 67.71, 302.25°)
OKLaboklab(53.72% 0.0468 -0.1635)
OKLCHoklch(53.72% 0.17 286)
XYZxyz(19.9730, 14.2461, 57.5630)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958CA #B9CA58
analogous
#5880CA #6958CA #A258CA
triadic
#6958CA #CA6958 #58CA69
tetradic
#6958CA #CA5880 #B9CA58 #58CAA2
square
#6958CA #CA5880 #B9CA58 #58CAA2
split-complementary
#6958CA #CAA258 #80CA58
monochromatic
#35287F #4937AE #6958CA #9386D9 #BCB5E7

Accessibility & contrast

On white

5.46
#6958CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6958CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958CA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958CA#FFFFFF#000000##FFFFFF
##6958CA1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6DCE
Deuteranopia (green-blind)
#0466C8
Tritanopia (blue-blind)
#487288
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6958ca;
/* rgb */ color: rgb(105, 88, 202);
/* oklch */ color: oklch(53.7% 0.170 286.0);
Tailwind
colors: {
  custom: {
    50: '#9b87db',
    500: '#6958ca',
    950: '#000000',
  },
}
SCSS
$custom: #6958ca;
$custom-light: #9b87db;
$custom-dark: #000000;
JSON
{
  "hex": "#6958ca",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 248.947,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.17008,
    "h": 286
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#6958CA
secondary
#CFD6A8
accent
#DB4DC6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6958CA

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

Preview Lab → · Contrast checker → · Palette generator →

#6958CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva