#6274E5#6274E5

#6274E5 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.2% C 0.171 H 273.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6274E5
RGBrgb(98, 116, 229)
HSLhsl(232, 72%, 64%)
HSVhsv(232, 57%, 90%)
CMYKcmyk(57.2%, 49.3%, 0%, 10.2%)
CIE-LABlab(52.67, 26.17, -59.62)
CIE-LCHlch(52.67, 65.11, 293.70°)
OKLaboklab(60.19% 0.0101 -0.1704)
OKLCHoklch(60.19% 0.171 273.4)
XYZxyz(25.4206, 20.7427, 76.7777)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274E5 #E5D362
analogous
#62B6E5 #6274E5 #9262E5
triadic
#6274E5 #E56274 #74E562
tetradic
#6274E5 #E562B6 #E5D362 #62E592
square
#6274E5 #E562B6 #E5D362 #62E592
split-complementary
#6274E5 #E59262 #B6E562
monochromatic
#1D31B0 #2D46DC #6274E5 #97A2EE #CBD1F6

Accessibility & contrast

On white

4.08
#6274E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#6274E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274E5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274E5#FFFFFF#000000##000000
##6274E51.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A84E9
Deuteranopia (green-blind)
#2378E3
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6274e5;
/* rgb */ color: rgb(98, 116, 229);
/* oklch */ color: oklch(60.2% 0.171 273.4);
Tailwind
colors: {
  custom: {
    50: '#999bee',
    500: '#6274e5',
    950: '#000000',
  },
}
SCSS
$custom: #6274e5;
$custom-light: #999bee;
$custom-dark: #000000;
JSON
{
  "hex": "#6274e5",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 229
  },
  "hsl": {
    "h": 231.756,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60191,
    "c": 0.17072,
    "h": 273.4
  },
  "luminance": 0.20745
}

Semantic roles & 50–950 ramp

primary
#6274E5
secondary
#E8E2BB
accent
#B912D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6274E5

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

Preview Lab → · Contrast checker → · Palette generator →

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