#6271F0#6271F0

#6271F0 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.4% C 0.189 H 274.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6271F0
RGBrgb(98, 113, 240)
HSLhsl(234, 83%, 66%)
HSVhsv(234, 59%, 94%)
CMYKcmyk(59.2%, 52.9%, 0%, 5.9%)
CIE-LABlab(52.62, 31.56, -65.86)
CIE-LCHlch(52.62, 73.03, 295.61°)
OKLaboklab(60.38% 0.0139 -0.1888)
OKLCHoklch(60.38% 0.189 274.2)
XYZxyz(26.6652, 20.6961, 85.0108)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6271F0 #F0E162
analogous
#62B8F0 #6271F0 #9A62F0
triadic
#6271F0 #F06271 #71F062
tetradic
#6271F0 #F062B8 #F0E162 #62F09A
square
#6271F0 #F062B8 #F0E162 #62F09A
split-complementary
#6271F0 #F09A62 #B8F062
monochromatic
#1326C5 #2A3EEB #6271F0 #9AA4F5 #D2D6FB

Accessibility & contrast

On white

4.09
#6271F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#6271F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6271F0
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6271F0#FFFFFF#000000##000000
##6271F01.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F84F4
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6271f0;
/* rgb */ color: rgb(98, 113, 240);
/* oklch */ color: oklch(60.4% 0.189 274.2);
Tailwind
colors: {
  custom: {
    50: '#9b99f6',
    500: '#6271f0',
    950: '#000000',
  },
}
SCSS
$custom: #6271f0;
$custom-light: #9b99f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6271f0",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 233.662,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60376,
    "c": 0.18931,
    "h": 274.2
  },
  "luminance": 0.20698
}

Semantic roles & 50–950 ramp

primary
#6271F0
secondary
#EEE9C0
accent
#C807DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6271F0

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

Preview Lab → · Contrast checker → · Palette generator →

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