#6268CF#6268CF

#6268CF is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.4% C 0.156 H 277.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6268CF
RGBrgb(98, 104, 207)
HSLhsl(237, 53%, 60%)
HSVhsv(237, 53%, 81%)
CMYKcmyk(52.7%, 49.8%, 0%, 18.8%)
CIE-LABlab(48.26, 26.46, -54.24)
CIE-LCHlch(48.26, 60.35, 296.00°)
OKLaboklab(56.43% 0.0207 -0.1547)
OKLCHoklch(56.43% 0.156 277.6)
XYZxyz(21.2463, 17.0010, 61.1813)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6268CF #CFC962
analogous
#629FCF #6268CF #9262CF
triadic
#6268CF #CF6268 #68CF62
tetradic
#6268CF #CF629F #CFC962 #62CF92
square
#6268CF #CF629F #CFC962 #62CF92
split-complementary
#6268CF #CF9262 #9FCF62
monochromatic
#2B308C #3940BB #6268CF #9195DD #C0C2EC

Accessibility & contrast

On white

4.77
#6268CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6268CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6268CF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6268CF#FFFFFF#000000##FFFFFF
##6268CF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3677D3
Deuteranopia (green-blind)
#296ECD
Tritanopia (blue-blind)
#317F92
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6268cf;
/* rgb */ color: rgb(98, 104, 207);
/* oklch */ color: oklch(56.4% 0.156 277.6);
Tailwind
colors: {
  custom: {
    50: '#9693de',
    500: '#6268cf',
    950: '#000000',
  },
}
SCSS
$custom: #6268cf;
$custom-light: #9693de;
$custom-dark: #000000;
JSON
{
  "hex": "#6268cf",
  "rgb": {
    "r": 98,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 236.697,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56428,
    "c": 0.15609,
    "h": 277.6
  },
  "luminance": 0.17002
}

Semantic roles & 50–950 ramp

primary
#6268CF
secondary
#DBD9B1
accent
#D54BDD
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6268CF

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

Preview Lab → · Contrast checker → · Palette generator →

#6268CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva