#6274ED#6274ED

#6274ED is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.7% C 0.182 H 273.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6274ED
RGBrgb(98, 116, 237)
HSLhsl(232, 79%, 66%)
HSVhsv(232, 59%, 93%)
CMYKcmyk(58.6%, 51.1%, 0%, 7.1%)
CIE-LABlab(53.17, 28.77, -63.30)
CIE-LCHlch(53.17, 69.53, 294.44°)
OKLaboklab(60.73% 0.0108 -0.1812)
OKLCHoklch(60.73% 0.182 273.4)
XYZxyz(26.5634, 21.1998, 82.7965)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274ED #EDDB62
analogous
#62BAED #6274ED #9562ED
triadic
#6274ED #ED6274 #74ED62
tetradic
#6274ED #ED62BA #EDDB62 #62ED95
square
#6274ED #ED62BA #EDDB62 #62ED95
split-complementary
#6274ED #ED9562 #BAED62
monochromatic
#162CBF #2B43E7 #6274ED #99A5F3 #D0D5FA

Accessibility & contrast

On white

4.01
#6274ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#6274ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274ED
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274ED#FFFFFF#000000##000000
##6274ED1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F1
Deuteranopia (green-blind)
#0779EA
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6274ed;
/* rgb */ color: rgb(98, 116, 237);
/* oklch */ color: oklch(60.7% 0.182 273.4);
Tailwind
colors: {
  custom: {
    50: '#9a9bf4',
    500: '#6274ed',
    950: '#000000',
  },
}
SCSS
$custom: #6274ed;
$custom-light: #9a9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#6274ed",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 232.23,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60729,
    "c": 0.18154,
    "h": 273.4
  },
  "luminance": 0.21202
}

Semantic roles & 50–950 ramp

primary
#6274ED
secondary
#EDE7BE
accent
#C10ADC
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6274ED

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

Preview Lab → · Contrast checker → · Palette generator →

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