#6274CB#6274CB

#6274CB is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.5% C 0.135 H 272.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6274CB
RGBrgb(98, 116, 203)
HSLhsl(230, 50%, 59%)
HSVhsv(230, 52%, 80%)
CMYKcmyk(51.7%, 42.9%, 0%, 20.4%)
CIE-LABlab(51.15, 17.83, -47.34)
CIE-LCHlch(51.15, 50.59, 290.64°)
OKLaboklab(58.55% 0.0066 -0.1344)
OKLCHoklch(58.55% 0.135 272.8)
XYZxyz(22.0584, 19.3978, 59.0701)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274CB #CBB962
analogous
#62A9CB #6274CB #8562CB
triadic
#6274CB #CB6274 #74CB62
tetradic
#6274CB #CB62A9 #CBB962 #62CB85
square
#6274CB #CB62A9 #CBB962 #62CB85
split-complementary
#6274CB #CB8562 #A9CB62
monochromatic
#2C3C86 #3C50B4 #6274CB #909DDA #BEC5E9

Accessibility & contrast

On white

4.30
#6274CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#6274CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274CB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274CB#FFFFFF#000000##000000
##6274CB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCE
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#338796
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6274cb;
/* rgb */ color: rgb(98, 116, 203);
/* oklch */ color: oklch(58.5% 0.135 272.8);
Tailwind
colors: {
  custom: {
    50: '#959bdb',
    500: '#6274cb',
    950: '#000000',
  },
}
SCSS
$custom: #6274cb;
$custom-light: #959bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6274cb",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 229.714,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58547,
    "c": 0.13452,
    "h": 272.8
  },
  "luminance": 0.19399
}

Semantic roles & 50–950 ramp

primary
#6274CB
secondary
#D9D2B0
accent
#C24EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6274CB

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

Preview Lab → · Contrast checker → · Palette generator →

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