#6271EE#6271EE

#6271EE is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.2% C 0.187 H 274.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6271EE
RGBrgb(98, 113, 238)
HSLhsl(234, 80%, 66%)
HSVhsv(234, 59%, 93%)
CMYKcmyk(58.8%, 52.5%, 0%, 6.7%)
CIE-LABlab(52.48, 30.91, -64.96)
CIE-LCHlch(52.48, 71.94, 295.45°)
OKLaboklab(60.24% 0.0138 -0.1861)
OKLCHoklch(60.24% 0.187 274.2)
XYZxyz(26.3697, 20.5779, 83.4547)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6271EE #EEDF62
analogous
#62B7EE #6271EE #9962EE
triadic
#6271EE #EE6271 #71EE62
tetradic
#6271EE #EE62B7 #EEDF62 #62EE99
square
#6271EE #EE62B7 #EEDF62 #62EE99
split-complementary
#6271EE #EE9962 #B7EE62
monochromatic
#1527C1 #2B3FE8 #6271EE #99A3F4 #D0D5FA

Accessibility & contrast

On white

4.10
#6271EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#6271EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6271EE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6271EE#FFFFFF#000000##000000
##6271EE1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2483F2
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6271ee;
/* rgb */ color: rgb(98, 113, 238);
/* oklch */ color: oklch(60.2% 0.187 274.2);
Tailwind
colors: {
  custom: {
    50: '#9a99f4',
    500: '#6271ee',
    950: '#000000',
  },
}
SCSS
$custom: #6271ee;
$custom-light: #9a99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6271ee",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 233.571,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60236,
    "c": 0.18665,
    "h": 274.2
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

primary
#6271EE
secondary
#EDE8BF
accent
#C609DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6271EE

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

Preview Lab → · Contrast checker → · Palette generator →

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