#6274F6#6274F6

#6274F6 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.4% C 0.194 H 273.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6274F6
RGBrgb(98, 116, 246)
HSLhsl(233, 89%, 67%)
HSVhsv(233, 60%, 96%)
CMYKcmyk(60.2%, 52.8%, 0%, 3.5%)
CIE-LABlab(53.75, 31.70, -67.37)
CIE-LCHlch(53.75, 74.45, 295.20°)
OKLaboklab(61.35% 0.0114 -0.1932)
OKLCHoklch(61.35% 0.194 273.4)
XYZxyz(27.9115, 21.7390, 89.8961)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274F6 #F6E462
analogous
#62BEF6 #6274F6 #9A62F6
triadic
#6274F6 #F66274 #74F662
tetradic
#6274F6 #F662BE #F6E462 #62F69A
square
#6274F6 #F662BE #F6E462 #62F69A
split-complementary
#6274F6 #F69A62 #BEF662
monochromatic
#0C24D2 #2841F3 #6274F6 #9CA7F9 #D6DAFD

Accessibility & contrast

On white

3.93
#6274F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6274F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274F6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274F6#FFFFFF#000000##000000
##6274F61.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F87FB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#0092AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6274f6;
/* rgb */ color: rgb(98, 116, 246);
/* oklch */ color: oklch(61.4% 0.194 273.4);
Tailwind
colors: {
  custom: {
    50: '#9b9bfa',
    500: '#6274f6',
    950: '#000000',
  },
}
SCSS
$custom: #6274f6;
$custom-light: #9b9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#6274f6",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 232.703,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61352,
    "c": 0.19354,
    "h": 273.4
  },
  "luminance": 0.21741
}

Semantic roles & 50–950 ramp

primary
#6274F6
secondary
#F1EBC3
accent
#CA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6274F6

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

Preview Lab → · Contrast checker → · Palette generator →

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