#6274EA#6274EA

#6274EA is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.5% C 0.177 H 273.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6274EA
RGBrgb(98, 116, 234)
HSLhsl(232, 76%, 65%)
HSVhsv(232, 58%, 92%)
CMYKcmyk(58.1%, 50.4%, 0%, 8.2%)
CIE-LABlab(52.98, 27.79, -61.92)
CIE-LCHlch(52.98, 67.87, 294.17°)
OKLaboklab(60.53% 0.0105 -0.1772)
OKLCHoklch(60.53% 0.178 273.4)
XYZxyz(26.1288, 21.0260, 80.5075)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274EA #EAD862
analogous
#62B8EA #6274EA #9462EA
triadic
#6274EA #EA6274 #74EA62
tetradic
#6274EA #EA62B8 #EAD862 #62EA94
square
#6274EA #EA62B8 #EAD862 #62EA94
split-complementary
#6274EA #EA9462 #B8EA62
monochromatic
#192EB9 #2C44E3 #6274EA #98A4F1 #CED4F8

Accessibility & contrast

On white

4.03
#6274EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#6274EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274EA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274EA#FFFFFF#000000##000000
##6274EA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#1579E8
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6274ea;
/* rgb */ color: rgb(98, 116, 234);
/* oklch */ color: oklch(60.5% 0.177 273.4);
Tailwind
colors: {
  custom: {
    50: '#999bf1',
    500: '#6274ea',
    950: '#000000',
  },
}
SCSS
$custom: #6274ea;
$custom-light: #999bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#6274ea",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 232.059,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60525,
    "c": 0.1775,
    "h": 273.4
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#6274EA
secondary
#EBE5BD
accent
#BE0DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6274EA

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

Preview Lab → · Contrast checker → · Palette generator →

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