#6271F9#6271F9

#6271F9 is a mid, highly saturated blue. Relative luminance 0.212; OKLCH L 61.0% C 0.201 H 274.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6271F9
RGBrgb(98, 113, 249)
HSLhsl(234, 93%, 68%)
HSVhsv(234, 61%, 98%)
CMYKcmyk(60.6%, 54.6%, 0%, 2.4%)
CIE-LABlab(53.22, 34.49, -69.90)
CIE-LCHlch(53.22, 77.94, 296.26°)
OKLaboklab(61.02% 0.0143 -0.2007)
OKLCHoklch(61.02% 0.201 274.1)
XYZxyz(28.0354, 21.2442, 92.2273)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6271F9 #F9EA62
analogous
#62BCF9 #6271F9 #9F62F9
triadic
#6271F9 #F96271 #71F962
tetradic
#6271F9 #F962BC #F9EA62 #62F99F
square
#6271F9 #F962BC #F9EA62 #62F99F
split-complementary
#6271F9 #F99F62 #BCF962
monochromatic
#081DD8 #273CF7 #6271F9 #9DA6FB #D8DCFE

Accessibility & contrast

On white

4.00
#6271F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6271F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6271F9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6271F9#FFFFFF#000000##000000
##6271F91.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FE
Deuteranopia (green-blind)
#0079F6
Tritanopia (blue-blind)
#0091AA
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6271f9;
/* rgb */ color: rgb(98, 113, 249);
/* oklch */ color: oklch(61.0% 0.201 274.1);
Tailwind
colors: {
  custom: {
    50: '#9c99fc',
    500: '#6271f9',
    950: '#000000',
  },
}
SCSS
$custom: #6271f9;
$custom-light: #9c99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6271f9",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 234.04,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61016,
    "c": 0.20118,
    "h": 274.1
  },
  "luminance": 0.21246
}

Semantic roles & 50–950 ramp

primary
#6271F9
secondary
#F2EEC4
accent
#CF00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #6271F9

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

Preview Lab → · Contrast checker → · Palette generator →

#6271F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva