#6274EF#6274EF

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

Color values

HEX#6274EF
RGBrgb(98, 116, 239)
HSLhsl(232, 82%, 66%)
HSVhsv(232, 59%, 94%)
CMYKcmyk(59%, 51.5%, 0%, 6.3%)
CIE-LABlab(53.30, 29.42, -64.21)
CIE-LCHlch(53.30, 70.62, 294.62°)
OKLaboklab(60.87% 0.0109 -0.1839)
OKLCHoklch(60.87% 0.184 273.4)
XYZxyz(26.8573, 21.3173, 84.3440)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274EF #EFDD62
analogous
#62BBEF #6274EF #9662EF
triadic
#6274EF #EF6274 #74EF62
tetradic
#6274EF #EF62BB #EFDD62 #62EF96
square
#6274EF #EF62BB #EFDD62 #62EF96
split-complementary
#6274EF #EF9662 #BBEF62
monochromatic
#142AC3 #2A43E9 #6274EF #9AA5F5 #D1D6FA

Accessibility & contrast

On white

3.99
#6274EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#6274EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274EF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274EF#FFFFFF#000000##000000
##6274EF1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C86F3
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6274ef;
/* rgb */ color: rgb(98, 116, 239);
/* oklch */ color: oklch(60.9% 0.184 273.4);
Tailwind
colors: {
  custom: {
    50: '#9a9bf5',
    500: '#6274ef',
    950: '#000000',
  },
}
SCSS
$custom: #6274ef;
$custom-light: #9a9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6274ef",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 232.34,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.18422,
    "h": 273.4
  },
  "luminance": 0.21319
}

Semantic roles & 50–950 ramp

primary
#6274EF
secondary
#EEE8BF
accent
#C308DE
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6274EF

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

Preview Lab → · Contrast checker → · Palette generator →

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