#6274DB#6274DB

#6274DB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.5% C 0.157 H 273.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6274DB
RGBrgb(98, 116, 219)
HSLhsl(231, 63%, 62%)
HSVhsv(231, 55%, 86%)
CMYKcmyk(55.3%, 47%, 0%, 14.1%)
CIE-LABlab(52.06, 22.94, -54.96)
CIE-LCHlch(52.06, 59.56, 292.65°)
OKLaboklab(59.54% 0.0089 -0.1567)
OKLCHoklch(59.54% 0.157 273.3)
XYZxyz(24.0644, 20.2002, 69.6350)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274DB #DBC962
analogous
#62B1DB #6274DB #8C62DB
triadic
#6274DB #DB6274 #74DB62
tetradic
#6274DB #DB62B1 #DBC962 #62DB8C
square
#6274DB #DB62B1 #DBC962 #62DB8C
split-complementary
#6274DB #DB8C62 #B1DB62
monochromatic
#24369E #3048D0 #6274DB #94A0E6 #C6CCF2

Accessibility & contrast

On white

4.17
#6274DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6274DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274DB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274DB#FFFFFF#000000##000000
##6274DB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482DF
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#1E8B9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6274db;
/* rgb */ color: rgb(98, 116, 219);
/* oklch */ color: oklch(59.5% 0.157 273.3);
Tailwind
colors: {
  custom: {
    50: '#979be7',
    500: '#6274db',
    950: '#000000',
  },
}
SCSS
$custom: #6274db;
$custom-light: #979be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6274db",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 231.074,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59538,
    "c": 0.15697,
    "h": 273.3
  },
  "luminance": 0.20202
}

Semantic roles & 50–950 ramp

primary
#6274DB
secondary
#E3DCB6
accent
#B01BCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6274DB

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

Preview Lab → · Contrast checker → · Palette generator →

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