#6897EA#6897EA

#6897EA is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.9% C 0.134 H 261.1°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6897EA
RGBrgb(104, 151, 234)
HSLhsl(218, 76%, 66%)
HSVhsv(218, 56%, 92%)
CMYKcmyk(55.6%, 35.5%, 0%, 8.2%)
CIE-LABlab(62.52, 8.01, -46.69)
CIE-LCHlch(62.52, 47.37, 279.74°)
OKLaboklab(67.93% -0.0206 -0.132)
OKLCHoklch(67.93% 0.134 261.1)
XYZxyz(31.6217, 31.0143, 82.1459)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6897EA #EABB68
analogous
#68D8EA #6897EA #7A68EA
triadic
#6897EA #EA6897 #97EA68
tetradic
#6897EA #EA68D8 #EABB68 #68EA7A
square
#6897EA #EA68D8 #EABB68 #68EA7A
split-complementary
#6897EA #EA7A68 #D8EA68
monochromatic
#1A55BD #3272E3 #6897EA #9EBCF1 #D3E1F9

Accessibility & contrast

On white

2.92
#6897EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#6897EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6897EA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6897EA#FFFFFF#000000##000000
##6897EA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EED
Deuteranopia (green-blind)
#6592E8
Tritanopia (blue-blind)
#0AA9B5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6897ea;
/* rgb */ color: rgb(104, 151, 234);
/* oklch */ color: oklch(67.9% 0.134 261.1);
Tailwind
colors: {
  custom: {
    50: '#9cb5f1',
    500: '#6897ea',
    950: '#000000',
  },
}
SCSS
$custom: #6897ea;
$custom-light: #9cb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6897ea",
  "rgb": {
    "r": 104,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 218.308,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67928,
    "c": 0.13365,
    "h": 261.1
  },
  "luminance": 0.31017
}

Semantic roles & 50–950 ramp

primary
#6897EA
secondary
#ECDDC2
accent
#8F0ED8
background
#FAFBFE
surface
#F3F6FD
border
#CDD0D5
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6897EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6897EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva