#6274E8#6274E8

#6274E8 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.4% C 0.175 H 273.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6274E8
RGBrgb(98, 116, 232)
HSLhsl(232, 74%, 65%)
HSVhsv(232, 58%, 91%)
CMYKcmyk(57.8%, 50%, 0%, 9%)
CIE-LABlab(52.85, 27.14, -61.01)
CIE-LCHlch(52.85, 66.77, 293.98°)
OKLaboklab(60.39% 0.0103 -0.1745)
OKLCHoklch(60.39% 0.175 273.4)
XYZxyz(25.8431, 20.9117, 79.0028)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274E8 #E8D662
analogous
#62B7E8 #6274E8 #9362E8
triadic
#6274E8 #E86274 #74E862
tetradic
#6274E8 #E862B7 #E8D662 #62E893
square
#6274E8 #E862B7 #E8D662 #62E893
split-complementary
#6274E8 #E89362 #B7E862
monochromatic
#1B2FB5 #2D45E0 #6274E8 #97A3F0 #CDD3F8

Accessibility & contrast

On white

4.05
#6274E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#6274E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274E8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274E8#FFFFFF#000000##000000
##6274E81.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EC
Deuteranopia (green-blind)
#1B79E6
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6274e8;
/* rgb */ color: rgb(98, 116, 232);
/* oklch */ color: oklch(60.4% 0.175 273.4);
Tailwind
colors: {
  custom: {
    50: '#999bf0',
    500: '#6274e8',
    950: '#000000',
  },
}
SCSS
$custom: #6274e8;
$custom-light: #999bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6274e8",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 231.94,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60391,
    "c": 0.1748,
    "h": 273.4
  },
  "luminance": 0.20914
}

Semantic roles & 50–950 ramp

primary
#6274E8
secondary
#EAE4BC
accent
#BC0FD7
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6274E8

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

Preview Lab → · Contrast checker → · Palette generator →

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