#5265CF#5265CF

#5265CF is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.164 H 272.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5265CF
RGBrgb(82, 101, 207)
HSLhsl(231, 57%, 57%)
HSVhsv(231, 60%, 81%)
CMYKcmyk(60.4%, 51.2%, 0%, 18.8%)
CIE-LABlab(46.45, 25.16, -57.21)
CIE-LCHlch(46.45, 62.50, 293.74°)
OKLaboklab(54.79% 0.0064 -0.1638)
OKLCHoklch(54.79% 0.164 272.2)
XYZxyz(19.3921, 15.6046, 61.0095)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265CF #CFBC52
analogous
#52A4CF #5265CF #7E52CF
triadic
#5265CF #CF5265 #65CF52
tetradic
#5265CF #CF52A4 #CFBC52 #52CF7E
square
#5265CF #CF52A4 #CFBC52 #52CF7E
split-complementary
#5265CF #CF7E52 #A4CF52
monochromatic
#243382 #3145B2 #5265CF #8290DC #B2BAEA

Accessibility & contrast

On white

5.10
#5265CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5265CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265CF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265CF#FFFFFF#000000##FFFFFF
##5265CF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2974D3
Deuteranopia (green-blind)
#0269CD
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5265cf;
/* rgb */ color: rgb(82, 101, 207);
/* oklch */ color: oklch(54.8% 0.164 272.2);
Tailwind
colors: {
  custom: {
    50: '#8e90de',
    500: '#5265cf',
    950: '#000000',
  },
}
SCSS
$custom: #5265cf;
$custom-light: #8e90de;
$custom-dark: #000000;
JSON
{
  "hex": "#5265cf",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 230.88,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54793,
    "c": 0.16398,
    "h": 272.2
  },
  "luminance": 0.15606
}

Semantic roles & 50–950 ramp

primary
#5265CF
secondary
#D8D0A5
accent
#C948E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5265CF

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

Preview Lab → · Contrast checker → · Palette generator →

#5265CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva