#6B74DB#6B74DB

#6B74DB is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.1% C 0.155 H 276.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6B74DB
RGBrgb(107, 116, 219)
HSLhsl(235, 61%, 64%)
HSVhsv(235, 51%, 86%)
CMYKcmyk(51.1%, 47%, 0%, 14.1%)
CIE-LABlab(52.65, 24.83, -53.99)
CIE-LCHlch(52.65, 59.42, 294.70°)
OKLaboklab(60.14% 0.0187 -0.1536)
OKLCHoklch(60.14% 0.155 276.9)
XYZxyz(25.0910, 20.7295, 69.6832)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B74DB #DBD26B
analogous
#6BACDB #6B74DB #9A6BDB
triadic
#6B74DB #DB6B74 #74DB6B
tetradic
#6B74DB #DB6BAC #DBD26B #6BDB9A
square
#6B74DB #DB6BAC #DBD26B #6BDB9A
split-complementary
#6B74DB #DB9A6B #ACDB6B
monochromatic
#2832A4 #3A46CF #6B74DB #9CA2E7 #CDD0F3

Accessibility & contrast

On white

4.08
#6B74DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#6B74DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B74DB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B74DB#FFFFFF#000000##000000
##6B74DB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#3C8A9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6b74db;
/* rgb */ color: rgb(107, 116, 219);
/* oklch */ color: oklch(60.1% 0.155 276.9);
Tailwind
colors: {
  custom: {
    50: '#9c9be7',
    500: '#6b74db',
    950: '#000000',
  },
}
SCSS
$custom: #6b74db;
$custom-light: #9c9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b74db",
  "rgb": {
    "r": 107,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 235.179,
    "s": 60.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60138,
    "c": 0.15478,
    "h": 276.9
  },
  "luminance": 0.20731
}

Semantic roles & 50–950 ramp

primary
#6B74DB
secondary
#E5E1BD
accent
#BB1DC9
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6B74DB

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

Preview Lab → · Contrast checker → · Palette generator →

#6B74DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva