#6274CC#6274CC

#6274CC is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.6% C 0.136 H 272.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6274CC
RGBrgb(98, 116, 204)
HSLhsl(230, 51%, 59%)
HSVhsv(230, 52%, 80%)
CMYKcmyk(52%, 43.1%, 0%, 20%)
CIE-LABlab(51.20, 18.15, -47.82)
CIE-LCHlch(51.20, 51.15, 290.78°)
OKLaboklab(58.61% 0.0067 -0.1358)
OKLCHoklch(58.61% 0.136 272.8)
XYZxyz(22.1780, 19.4456, 59.6998)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274CC #CCBA62
analogous
#62A9CC #6274CC #8562CC
triadic
#6274CC #CC6274 #74CC62
tetradic
#6274CC #CC62A9 #CCBA62 #62CC85
square
#6274CC #CC62A9 #CCBA62 #62CC85
split-complementary
#6274CC #CC8562 #A9CC62
monochromatic
#2C3C88 #3B50B6 #6274CC #909DDB #BEC6EA

Accessibility & contrast

On white

4.30
#6274CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#6274CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274CC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274CC#FFFFFF#000000##000000
##6274CC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FCF
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#328796
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6274cc;
/* rgb */ color: rgb(98, 116, 204);
/* oklch */ color: oklch(58.6% 0.136 272.8);
Tailwind
colors: {
  custom: {
    50: '#959bdc',
    500: '#6274cc',
    950: '#000000',
  },
}
SCSS
$custom: #6274cc;
$custom-light: #959bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6274cc",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 229.811,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58607,
    "c": 0.13594,
    "h": 272.8
  },
  "luminance": 0.19447
}

Semantic roles & 50–950 ramp

primary
#6274CC
secondary
#DAD3B0
accent
#C24DDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6274CC

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

Preview Lab → · Contrast checker → · Palette generator →

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