#6275EC#6275EC

#6275EC is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.9% C 0.179 H 273.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6275EC
RGBrgb(98, 117, 236)
HSLhsl(232, 78%, 65%)
HSVhsv(232, 58%, 93%)
CMYKcmyk(58.5%, 50.4%, 0%, 7.5%)
CIE-LABlab(53.36, 27.83, -62.43)
CIE-LCHlch(53.36, 68.36, 294.03°)
OKLaboklab(60.85% 0.0097 -0.1787)
OKLCHoklch(60.85% 0.179 273.1)
XYZxyz(26.5336, 21.3733, 82.0678)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6275EC #ECD962
analogous
#62BAEC #6275EC #9462EC
triadic
#6275EC #EC6275 #75EC62
tetradic
#6275EC #EC62BA #ECD962 #62EC94
square
#6275EC #EC62BA #ECD962 #62EC94
split-complementary
#6275EC #EC9462 #BAEC62
monochromatic
#172EBD #2B45E5 #6275EC #99A5F3 #CFD5F9

Accessibility & contrast

On white

3.98
#6275EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6275EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6275EC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6275EC#FFFFFF#000000##000000
##6275EC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#137AEA
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6275ec;
/* rgb */ color: rgb(98, 117, 236);
/* oklch */ color: oklch(60.9% 0.179 273.1);
Tailwind
colors: {
  custom: {
    50: '#9a9cf3',
    500: '#6275ec',
    950: '#000000',
  },
}
SCSS
$custom: #6275ec;
$custom-light: #9a9cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6275ec",
  "rgb": {
    "r": 98,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 231.739,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60851,
    "c": 0.17894,
    "h": 273.1
  },
  "luminance": 0.21375
}

Semantic roles & 50–950 ramp

primary
#6275EC
secondary
#ECE6BE
accent
#BE0BDB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6275EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6275EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva