#6273EB#6273EB

#6273EB is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.4% C 0.180 H 273.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6273EB
RGBrgb(98, 115, 235)
HSLhsl(233, 77%, 65%)
HSVhsv(233, 58%, 92%)
CMYKcmyk(58.3%, 51.1%, 0%, 7.8%)
CIE-LABlab(52.79, 28.72, -62.79)
CIE-LCHlch(52.79, 69.05, 294.58°)
OKLaboklab(60.4% 0.0116 -0.1797)
OKLCHoklch(60.4% 0.18 273.7)
XYZxyz(26.1582, 20.8543, 81.2280)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6273EB #EBDA62
analogous
#62B7EB #6273EB #9662EB
triadic
#6273EB #EB6273 #73EB62
tetradic
#6273EB #EB62B7 #EBDA62 #62EB96
square
#6273EB #EB62B7 #EBDA62 #62EB96
split-complementary
#6273EB #EB9662 #B7EB62
monochromatic
#182CBB #2C43E4 #6273EB #98A3F2 #CFD4F9

Accessibility & contrast

On white

4.06
#6273EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6273EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6273EB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6273EB#FFFFFF#000000##000000
##6273EB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EF
Deuteranopia (green-blind)
#0A78E8
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6273eb;
/* rgb */ color: rgb(98, 115, 235);
/* oklch */ color: oklch(60.4% 0.180 273.7);
Tailwind
colors: {
  custom: {
    50: '#9a9bf2',
    500: '#6273eb',
    950: '#000000',
  },
}
SCSS
$custom: #6273eb;
$custom-light: #9a9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6273eb",
  "rgb": {
    "r": 98,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 232.555,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60404,
    "c": 0.18011,
    "h": 273.7
  },
  "luminance": 0.20856
}

Semantic roles & 50–950 ramp

primary
#6273EB
secondary
#EBE6BD
accent
#C00CDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6273EB

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

Preview Lab → · Contrast checker → · Palette generator →

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