#6897F2#6897F2

#6897F2 is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.4% C 0.144 H 262.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6897F2
RGBrgb(104, 151, 242)
HSLhsl(220, 84%, 68%)
HSVhsv(220, 57%, 95%)
CMYKcmyk(57%, 37.6%, 0%, 5.1%)
CIE-LABlab(62.91, 10.55, -50.47)
CIE-LCHlch(62.91, 51.56, 281.81°)
OKLaboklab(68.36% -0.0188 -0.1431)
OKLCHoklch(68.36% 0.144 262.5)
XYZxyz(32.7970, 31.4844, 88.3360)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6897F2 #F2C368
analogous
#68DCF2 #6897F2 #7E68F2
triadic
#6897F2 #F26897 #97F268
tetradic
#6897F2 #F268DC #F2C368 #68F27E
square
#6897F2 #F268DC #F2C368 #68F27E
split-complementary
#6897F2 #F27E68 #DCF268
monochromatic
#1252CE #3070ED #6897F2 #A0BEF7 #D9E5FC

Accessibility & contrast

On white

2.88
#6897F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#6897F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6897F2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6897F2#FFFFFF#000000##000000
##6897F21.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#5F92F0
Tritanopia (blue-blind)
#00ABB9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6897f2;
/* rgb */ color: rgb(104, 151, 242);
/* oklch */ color: oklch(68.4% 0.144 262.5);
Tailwind
colors: {
  custom: {
    50: '#9db5f7',
    500: '#6897f2',
    950: '#000000',
  },
}
SCSS
$custom: #6897f2;
$custom-light: #9db5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6897f2",
  "rgb": {
    "r": 104,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 219.565,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68364,
    "c": 0.14432,
    "h": 262.5
  },
  "luminance": 0.31487
}

Semantic roles & 50–950 ramp

primary
#6897F2
secondary
#F0E2C6
accent
#9605E1
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #6897F2

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

Preview Lab → · Contrast checker → · Palette generator →

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