#7274CB#7274CB

#7274CB is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.7% C 0.131 H 280.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7274CB
RGBrgb(114, 116, 203)
HSLhsl(239, 46%, 62%)
HSVhsv(239, 44%, 80%)
CMYKcmyk(43.8%, 42.9%, 0%, 20.4%)
CIE-LABlab(52.26, 21.62, -45.50)
CIE-LCHlch(52.26, 50.38, 295.42°)
OKLaboklab(59.68% 0.0242 -0.1286)
OKLCHoklch(59.68% 0.131 280.7)
XYZxyz(23.9611, 20.3789, 59.1593)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7274CB #CBC972
analogous
#72A0CB #7274CB #9D72CB
triadic
#7274CB #CB7274 #74CB72
tetradic
#7274CB #CB72A0 #CBC972 #72CB9D
square
#7274CB #CB72A0 #CBC972 #72CB9D
split-complementary
#7274CB #CB9D72 #A0CB72
monochromatic
#34368E #4548BB #7274CB #9FA0DB #CBCCEC

Accessibility & contrast

On white

4.14
#7274CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7274CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7274CB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7274CB#FFFFFF#000000##000000
##7274CB1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CE
Deuteranopia (green-blind)
#4E79C9
Tritanopia (blue-blind)
#558696
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7274cb;
/* rgb */ color: rgb(114, 116, 203);
/* oklch */ color: oklch(59.7% 0.131 280.7);
Tailwind
colors: {
  custom: {
    50: '#9f9cdb',
    500: '#7274cb',
    950: '#000000',
  },
}
SCSS
$custom: #7274cb;
$custom-light: #9f9cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7274cb",
  "rgb": {
    "r": 114,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 238.652,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59681,
    "c": 0.13088,
    "h": 280.7
  },
  "luminance": 0.2038
}

Semantic roles & 50–950 ramp

primary
#7274CB
secondary
#DDDCBC
accent
#B62CB9
background
#FAF9FD
surface
#F3F2FB
border
#CDCCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7274CB

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

Preview Lab → · Contrast checker → · Palette generator →

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