#6274DA#6274DA

#6274DA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.5% C 0.156 H 273.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6274DA
RGBrgb(98, 116, 218)
HSLhsl(231, 62%, 62%)
HSVhsv(231, 55%, 85%)
CMYKcmyk(55%, 46.8%, 0%, 14.5%)
CIE-LABlab(52.00, 22.62, -54.49)
CIE-LCHlch(52.00, 59.00, 292.54°)
OKLaboklab(59.48% 0.0088 -0.1553)
OKLCHoklch(59.48% 0.156 273.2)
XYZxyz(23.9332, 20.1477, 68.9438)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274DA #DAC862
analogous
#62B0DA #6274DA #8C62DA
triadic
#6274DA #DA6274 #74DA62
tetradic
#6274DA #DA62B0 #DAC862 #62DA8C
square
#6274DA #DA62B0 #DAC862 #62DA8C
split-complementary
#6274DA #DA8C62 #B0DA62
monochromatic
#25379D #3148CE #6274DA #94A0E6 #C5CCF1

Accessibility & contrast

On white

4.18
#6274DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#6274DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274DA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274DA#FFFFFF#000000##000000
##6274DA1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4581DE
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#208B9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6274da;
/* rgb */ color: rgb(98, 116, 218);
/* oklch */ color: oklch(59.5% 0.156 273.2);
Tailwind
colors: {
  custom: {
    50: '#979be6',
    500: '#6274da',
    950: '#000000',
  },
}
SCSS
$custom: #6274da;
$custom-light: #979be6;
$custom-dark: #000000;
JSON
{
  "hex": "#6274da",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 231,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59475,
    "c": 0.15559,
    "h": 273.2
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

primary
#6274DA
secondary
#E2DBB6
accent
#B01CCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6274DA

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

Preview Lab → · Contrast checker → · Palette generator →

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