#6274EB#6274EB

#6274EB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.6% C 0.179 H 273.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6274EB
RGBrgb(98, 116, 235)
HSLhsl(232, 77%, 65%)
HSVhsv(232, 58%, 92%)
CMYKcmyk(58.3%, 50.6%, 0%, 7.8%)
CIE-LABlab(53.04, 28.12, -62.38)
CIE-LCHlch(53.04, 68.43, 294.26°)
OKLaboklab(60.59% 0.0106 -0.1785)
OKLCHoklch(60.59% 0.179 273.4)
XYZxyz(26.2729, 21.0836, 81.2662)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274EB #EBD962
analogous
#62B8EB #6274EB #9562EB
triadic
#6274EB #EB6274 #74EB62
tetradic
#6274EB #EB62B8 #EBD962 #62EB95
square
#6274EB #EB62B8 #EBD962 #62EB95
split-complementary
#6274EB #EB9562 #B8EB62
monochromatic
#182DBB #2C44E4 #6274EB #98A4F2 #CFD4F9

Accessibility & contrast

On white

4.03
#6274EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#6274EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274EB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274EB#FFFFFF#000000##000000
##6274EB1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#1179E9
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6274eb;
/* rgb */ color: rgb(98, 116, 235);
/* oklch */ color: oklch(60.6% 0.179 273.4);
Tailwind
colors: {
  custom: {
    50: '#9a9bf2',
    500: '#6274eb',
    950: '#000000',
  },
}
SCSS
$custom: #6274eb;
$custom-light: #9a9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6274eb",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 232.117,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60593,
    "c": 0.17885,
    "h": 273.4
  },
  "luminance": 0.21086
}

Semantic roles & 50–950 ramp

primary
#6274EB
secondary
#EBE5BD
accent
#BF0CDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6274EB

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

Preview Lab → · Contrast checker → · Palette generator →

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