#6271BE#6271BE

#6271BE is a mid, moderate blue. Relative luminance 0.181; OKLCH L 57.2% C 0.120 H 273.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6271BE
RGBrgb(98, 113, 190)
HSLhsl(230, 41%, 56%)
HSVhsv(230, 48%, 75%)
CMYKcmyk(48.4%, 40.5%, 0%, 25.5%)
CIE-LABlab(49.65, 15.59, -42.28)
CIE-LCHlch(49.65, 45.06, 290.25°)
OKLaboklab(57.17% 0.0077 -0.1196)
OKLCHoklch(57.17% 0.12 273.7)
XYZxyz(20.2335, 18.1234, 51.1372)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6271BE #BEAF62
analogous
#629FBE #6271BE #8162BE
triadic
#6271BE #BE6271 #71BE62
tetradic
#6271BE #BE629F #BEAF62 #62BE81
square
#6271BE #BE629F #BEAF62 #62BE81
split-complementary
#6271BE #BE8162 #9FBE62
monochromatic
#303C75 #4252A0 #6271BE #8D98D0 #B9BFE2

Accessibility & contrast

On white

4.54
#6271BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#6271BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6271BE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6271BE#FFFFFF#000000##000000
##6271BE1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC1
Deuteranopia (green-blind)
#4B72BC
Tritanopia (blue-blind)
#3E818E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6271be;
/* rgb */ color: rgb(98, 113, 190);
/* oklch */ color: oklch(57.2% 0.120 273.7);
Tailwind
colors: {
  custom: {
    50: '#9499d2',
    500: '#6271be',
    950: '#000000',
  },
}
SCSS
$custom: #6271be;
$custom-light: #9499d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6271be",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 230.217,
    "s": 41.441,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.11981,
    "h": 273.7
  },
  "luminance": 0.18125
}

Semantic roles & 50–950 ramp

primary
#6271BE
secondary
#D1CBAB
accent
#BD57D1
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #6271BE

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

Preview Lab → · Contrast checker → · Palette generator →

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