#6274EE#6274EE

#6274EE is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.8% C 0.183 H 273.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6274EE
RGBrgb(98, 116, 238)
HSLhsl(232, 80%, 66%)
HSVhsv(232, 59%, 93%)
CMYKcmyk(58.8%, 51.3%, 0%, 6.7%)
CIE-LABlab(53.23, 29.09, -63.75)
CIE-LCHlch(53.23, 70.08, 294.53°)
OKLaboklab(60.8% 0.0108 -0.1826)
OKLCHoklch(60.8% 0.183 273.4)
XYZxyz(26.7099, 21.2584, 83.5681)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274EE #EEDC62
analogous
#62BAEE #6274EE #9662EE
triadic
#6274EE #EE6274 #74EE62
tetradic
#6274EE #EE62BA #EEDC62 #62EE96
square
#6274EE #EE62BA #EEDC62 #62EE96
split-complementary
#6274EE #EE9662 #BAEE62
monochromatic
#152BC1 #2B43E8 #6274EE #99A5F4 #D0D6FA

Accessibility & contrast

On white

4.00
#6274EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6274EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274EE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274EE#FFFFFF#000000##000000
##6274EE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E85F2
Deuteranopia (green-blind)
#0179EB
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6274ee;
/* rgb */ color: rgb(98, 116, 238);
/* oklch */ color: oklch(60.8% 0.183 273.4);
Tailwind
colors: {
  custom: {
    50: '#9a9bf4',
    500: '#6274ee',
    950: '#000000',
  },
}
SCSS
$custom: #6274ee;
$custom-light: #9a9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#6274ee",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 232.286,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60797,
    "c": 0.18288,
    "h": 273.4
  },
  "luminance": 0.2126
}

Semantic roles & 50–950 ramp

primary
#6274EE
secondary
#EDE7BF
accent
#C209DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6274EE

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

Preview Lab → · Contrast checker → · Palette generator →

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