#6274F2#6274F2

#6274F2 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.1% C 0.188 H 273.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6274F2
RGBrgb(98, 116, 242)
HSLhsl(233, 85%, 67%)
HSVhsv(233, 60%, 95%)
CMYKcmyk(59.5%, 52.1%, 0%, 5.1%)
CIE-LABlab(53.49, 30.40, -65.57)
CIE-LCHlch(53.49, 72.27, 294.87°)
OKLaboklab(61.07% 0.0111 -0.1879)
OKLCHoklch(61.07% 0.188 273.4)
XYZxyz(27.3041, 21.4961, 86.6975)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274F2 #F2E062
analogous
#62BCF2 #6274F2 #9862F2
triadic
#6274F2 #F26274 #74F262
tetradic
#6274F2 #F262BC #F2E062 #62F298
square
#6274F2 #F262BC #F2E062 #62F298
split-complementary
#6274F2 #F29862 #BCF262
monochromatic
#1128C9 #2942ED #6274F2 #9BA6F7 #D3D8FB

Accessibility & contrast

On white

3.96
#6274F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6274F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274F2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274F2#FFFFFF#000000##000000
##6274F21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F6
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#0091A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6274f2;
/* rgb */ color: rgb(98, 116, 242);
/* oklch */ color: oklch(61.1% 0.188 273.4);
Tailwind
colors: {
  custom: {
    50: '#9b9bf7',
    500: '#6274f2',
    950: '#000000',
  },
}
SCSS
$custom: #6274f2;
$custom-light: #9b9bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#6274f2",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 232.5,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61073,
    "c": 0.18823,
    "h": 273.4
  },
  "luminance": 0.21498
}

Semantic roles & 50–950 ramp

primary
#6274F2
secondary
#EFE9C1
accent
#C604E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6274F2

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

Preview Lab → · Contrast checker → · Palette generator →

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