#5262C8#5262C8

#5262C8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.7% C 0.158 H 273.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5262C8
RGBrgb(82, 98, 200)
HSLhsl(232, 52%, 55%)
HSVhsv(232, 59%, 78%)
CMYKcmyk(59%, 51%, 0%, 21.6%)
CIE-LABlab(45.22, 24.69, -55.17)
CIE-LCHlch(45.22, 60.45, 294.11°)
OKLaboklab(53.72% 0.0088 -0.1579)
OKLCHoklch(53.72% 0.158 273.2)
XYZxyz(18.2693, 14.6979, 56.5066)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5262C8 #C8B852
analogous
#529DC8 #5262C8 #7D52C8
triadic
#5262C8 #C85262 #62C852
tetradic
#5262C8 #C8529D #C8B852 #52C87D
square
#5262C8 #C8529D #C8B852 #52C87D
split-complementary
#5262C8 #C87D52 #9DC852
monochromatic
#273279 #3545A8 #5262C8 #808CD7 #AFB6E6

Accessibility & contrast

On white

5.33
#5262C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5262C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5262C8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5262C8#FFFFFF#000000##FFFFFF
##5262C81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A70CC
Deuteranopia (green-blind)
#0E66C6
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5262c8;
/* rgb */ color: rgb(82, 98, 200);
/* oklch */ color: oklch(53.7% 0.158 273.2);
Tailwind
colors: {
  custom: {
    50: '#8d8ed9',
    500: '#5262c8',
    950: '#000000',
  },
}
SCSS
$custom: #5262c8;
$custom-light: #8d8ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#5262c8",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 231.864,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53716,
    "c": 0.15816,
    "h": 273.2
  },
  "luminance": 0.14699
}

Semantic roles & 50–950 ramp

primary
#5262C8
secondary
#D4CDA2
accent
#C84DDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5262C8

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

Preview Lab → · Contrast checker → · Palette generator →

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