#5262CD#5262CD

#5262CD is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.1% C 0.165 H 273.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5262CD
RGBrgb(82, 98, 205)
HSLhsl(232, 55%, 56%)
HSVhsv(232, 60%, 80%)
CMYKcmyk(60%, 52.2%, 0%, 19.6%)
CIE-LABlab(45.55, 26.37, -57.52)
CIE-LCHlch(45.55, 63.28, 294.63°)
OKLaboklab(54.07% 0.0092 -0.1648)
OKLCHoklch(54.07% 0.165 273.2)
XYZxyz(18.8632, 14.9355, 59.6346)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5262CD #CDBD52
analogous
#52A0CD #5262CD #8052CD
triadic
#5262CD #CD5262 #62CD52
tetradic
#5262CD #CD52A0 #CDBD52 #52CD80
square
#5262CD #CD52A0 #CDBD52 #52CD80
split-complementary
#5262CD #CD8052 #A0CD52
monochromatic
#253180 #3343AF #5262CD #818DDB #B1B8E8

Accessibility & contrast

On white

5.27
#5262CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5262CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5262CD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5262CD#FFFFFF#000000##FFFFFF
##5262CD1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5262cd;
/* rgb */ color: rgb(82, 98, 205);
/* oklch */ color: oklch(54.1% 0.165 273.2);
Tailwind
colors: {
  custom: {
    50: '#8e8edd',
    500: '#5262cd',
    950: '#000000',
  },
}
SCSS
$custom: #5262cd;
$custom-light: #8e8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5262cd",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 232.195,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54068,
    "c": 0.16507,
    "h": 273.2
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#5262CD
secondary
#D7D0A4
accent
#CB49DE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5262CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5262CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva