#6273EA#6273EA

#6273EA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.179 H 273.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6273EA
RGBrgb(98, 115, 234)
HSLhsl(233, 76%, 65%)
HSVhsv(233, 58%, 92%)
CMYKcmyk(58.1%, 50.9%, 0%, 8.2%)
CIE-LABlab(52.73, 28.40, -62.33)
CIE-LCHlch(52.73, 68.49, 294.50°)
OKLaboklab(60.34% 0.0115 -0.1784)
OKLCHoklch(60.34% 0.179 273.7)
XYZxyz(26.0142, 20.7967, 80.4693)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6273EA #EAD962
analogous
#62B7EA #6273EA #9562EA
triadic
#6273EA #EA6273 #73EA62
tetradic
#6273EA #EA62B7 #EAD962 #62EA95
square
#6273EA #EA62B7 #EAD962 #62EA95
split-complementary
#6273EA #EA9562 #B7EA62
monochromatic
#192DB9 #2C43E3 #6273EA #98A3F1 #CED3F8

Accessibility & contrast

On white

4.07
#6273EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6273EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6273EA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6273EA#FFFFFF#000000##000000
##6273EA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#0F78E8
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6273ea;
/* rgb */ color: rgb(98, 115, 234);
/* oklch */ color: oklch(60.3% 0.179 273.7);
Tailwind
colors: {
  custom: {
    50: '#9a9bf1',
    500: '#6273ea',
    950: '#000000',
  },
}
SCSS
$custom: #6273ea;
$custom-light: #9a9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#6273ea",
  "rgb": {
    "r": 98,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 232.5,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60336,
    "c": 0.17876,
    "h": 273.7
  },
  "luminance": 0.20799
}

Semantic roles & 50–950 ramp

primary
#6273EA
secondary
#EBE5BD
accent
#BF0DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6273EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6273EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva