#6274DC#6274DC

#6274DC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.6% C 0.158 H 273.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6274DC
RGBrgb(98, 116, 220)
HSLhsl(231, 64%, 62%)
HSVhsv(231, 55%, 86%)
CMYKcmyk(55.5%, 47.3%, 0%, 13.7%)
CIE-LABlab(52.12, 23.26, -55.43)
CIE-LCHlch(52.12, 60.12, 292.76°)
OKLaboklab(59.6% 0.0091 -0.1581)
OKLCHoklch(59.6% 0.158 273.3)
XYZxyz(24.1965, 20.2530, 70.3304)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274DC #DCCA62
analogous
#62B1DC #6274DC #8D62DC
triadic
#6274DC #DC6274 #74DC62
tetradic
#6274DC #DC62B1 #DCCA62 #62DC8D
square
#6274DC #DC62B1 #DCCA62 #62DC8D
split-complementary
#6274DC #DC8D62 #B1DC62
monochromatic
#2436A0 #3048D1 #6274DC #94A0E7 #C6CDF2

Accessibility & contrast

On white

4.16
#6274DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#6274DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274DC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274DC#FFFFFF#000000##000000
##6274DC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#3277DA
Tritanopia (blue-blind)
#1D8B9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6274dc;
/* rgb */ color: rgb(98, 116, 220);
/* oklch */ color: oklch(59.6% 0.158 273.3);
Tailwind
colors: {
  custom: {
    50: '#979be7',
    500: '#6274dc',
    950: '#000000',
  },
}
SCSS
$custom: #6274dc;
$custom-light: #979be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6274dc",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 231.148,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59603,
    "c": 0.15836,
    "h": 273.3
  },
  "luminance": 0.20255
}

Semantic roles & 50–950 ramp

primary
#6274DC
secondary
#E3DDB7
accent
#B11ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6274DC

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

Preview Lab → · Contrast checker → · Palette generator →

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