#6297FB#6297FB

#6297FB is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.6% C 0.158 H 262.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6297FB
RGBrgb(98, 151, 251)
HSLhsl(219, 95%, 68%)
HSVhsv(219, 61%, 98%)
CMYKcmyk(61%, 39.8%, 0%, 1.6%)
CIE-LABlab(63.09, 12.33, -55.15)
CIE-LCHlch(63.09, 56.52, 282.60°)
OKLaboklab(68.57% -0.0221 -0.1569)
OKLCHoklch(68.57% 0.158 262)
XYZxyz(33.5101, 31.6919, 95.5993)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6297FB #FBC662
analogous
#62E3FB #6297FB #7962FB
triadic
#6297FB #FB6297 #97FB62
tetradic
#6297FB #FB62E3 #FBC662 #62FB79
square
#6297FB #FB62E3 #FBC662 #62FB79
split-complementary
#6297FB #FB7962 #E3FB62
monochromatic
#0650DD #266FF9 #6297FB #9EBFFD #D9E6FE

Accessibility & contrast

On white

2.86
#6297FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#6297FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6297FB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6297FB#FFFFFF#000000##000000
##6297FB1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#00AEBD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6297fb;
/* rgb */ color: rgb(98, 151, 251);
/* oklch */ color: oklch(68.6% 0.158 262.0);
Tailwind
colors: {
  custom: {
    50: '#9bb5fd',
    500: '#6297fb',
    950: '#000000',
  },
}
SCSS
$custom: #6297fb;
$custom-light: #9bb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6297fb",
  "rgb": {
    "r": 98,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 219.216,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6857,
    "c": 0.15845,
    "h": 262
  },
  "luminance": 0.31695
}

Semantic roles & 50–950 ramp

primary
#6297FB
secondary
#F3E3C5
accent
#9600E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #6297FB

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

Preview Lab → · Contrast checker → · Palette generator →

#6297FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva