#5267C7#5267C7

#5267C7 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.6% C 0.150 H 271.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5267C7
RGBrgb(82, 103, 199)
HSLhsl(229, 51%, 55%)
HSVhsv(229, 59%, 78%)
CMYKcmyk(58.8%, 48.2%, 0%, 22%)
CIE-LABlab(46.47, 21.22, -52.59)
CIE-LCHlch(46.47, 56.71, 291.97°)
OKLaboklab(54.64% 0.0036 -0.1502)
OKLCHoklch(54.64% 0.15 271.4)
XYZxyz(18.6353, 15.6164, 56.0540)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267C7 #C7B252
analogous
#52A1C7 #5267C7 #7852C7
triadic
#5267C7 #C75267 #67C752
tetradic
#5267C7 #C752A1 #C7B252 #52C778
square
#5267C7 #C752A1 #C7B252 #52C778
split-complementary
#5267C7 #C77852 #A1C752
monochromatic
#273578 #364AA6 #5267C7 #8090D6 #AEB8E5

Accessibility & contrast

On white

5.09
#5267C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5267C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267C7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267C7#FFFFFF#000000##FFFFFF
##5267C71.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3773CB
Deuteranopia (green-blind)
#2469C5
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5267c7;
/* rgb */ color: rgb(82, 103, 199);
/* oklch */ color: oklch(54.6% 0.150 271.4);
Tailwind
colors: {
  custom: {
    50: '#8c92d8',
    500: '#5267c7',
    950: '#000000',
  },
}
SCSS
$custom: #5267c7;
$custom-light: #8c92d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5267c7",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 199
  },
  "hsl": {
    "h": 229.231,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54642,
    "c": 0.15029,
    "h": 271.4
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#5267C7
secondary
#D3CAA2
accent
#C14DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5267C7

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

Preview Lab → · Contrast checker → · Palette generator →

#5267C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva