#6271EF#6271EF

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

Color values

HEX#6271EF
RGBrgb(98, 113, 239)
HSLhsl(234, 82%, 66%)
HSVhsv(234, 59%, 94%)
CMYKcmyk(59%, 52.7%, 0%, 6.3%)
CIE-LABlab(52.55, 31.24, -65.41)
CIE-LCHlch(52.55, 72.49, 295.53°)
OKLaboklab(60.31% 0.0138 -0.1875)
OKLCHoklch(60.31% 0.188 274.2)
XYZxyz(26.5170, 20.6369, 84.2306)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6271EF #EFE062
analogous
#62B7EF #6271EF #9962EF
triadic
#6271EF #EF6271 #71EF62
tetradic
#6271EF #EF62B7 #EFE062 #62EF99
square
#6271EF #EF62B7 #EFE062 #62EF99
split-complementary
#6271EF #EF9962 #B7EF62
monochromatic
#1426C3 #2A3FE9 #6271EF #9AA3F5 #D1D5FA

Accessibility & contrast

On white

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

On black

5.13
#6271EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6271EF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6271EF#FFFFFF#000000##000000
##6271EF1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2184F3
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6271ef;
/* rgb */ color: rgb(98, 113, 239);
/* oklch */ color: oklch(60.3% 0.188 274.2);
Tailwind
colors: {
  custom: {
    50: '#9a99f5',
    500: '#6271ef',
    950: '#000000',
  },
}
SCSS
$custom: #6271ef;
$custom-light: #9a99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6271ef",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 233.617,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60306,
    "c": 0.18798,
    "h": 274.2
  },
  "luminance": 0.20639
}

Semantic roles & 50–950 ramp

primary
#6271EF
secondary
#EEE9BF
accent
#C708DE
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6271EF

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

Preview Lab → · Contrast checker → · Palette generator →

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