#5262C4#5262C4

#5262C4 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.4% C 0.153 H 273.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5262C4
RGBrgb(82, 98, 196)
HSLhsl(232, 49%, 55%)
HSVhsv(232, 58%, 77%)
CMYKcmyk(58.2%, 50%, 0%, 23.1%)
CIE-LABlab(44.96, 23.35, -53.28)
CIE-LCHlch(44.96, 58.17, 293.66°)
OKLaboklab(53.44% 0.0085 -0.1523)
OKLCHoklch(53.44% 0.153 273.2)
XYZxyz(17.8079, 14.5134, 54.0768)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5262C4 #C4B452
analogous
#529BC4 #5262C4 #7B52C4
triadic
#5262C4 #C45262 #62C452
tetradic
#5262C4 #C4529B #C4B452 #52C47B
square
#5262C4 #C4529B #C4B452 #52C47B
split-complementary
#5262C4 #C47B52 #9BC452
monochromatic
#283274 #3746A2 #5262C4 #808BD4 #ADB5E3

Accessibility & contrast

On white

5.38
#5262C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5262C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5262C4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5262C4#FFFFFF#000000##FFFFFF
##5262C41.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6FC8
Deuteranopia (green-blind)
#1A66C2
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5262c4;
/* rgb */ color: rgb(82, 98, 196);
/* oklch */ color: oklch(53.4% 0.153 273.2);
Tailwind
colors: {
  custom: {
    50: '#8c8ed6',
    500: '#5262c4',
    950: '#000000',
  },
}
SCSS
$custom: #5262c4;
$custom-light: #8c8ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#5262c4",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 196
  },
  "hsl": {
    "h": 231.579,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53439,
    "c": 0.15256,
    "h": 273.2
  },
  "luminance": 0.14515
}

Semantic roles & 50–950 ramp

primary
#5262C4
secondary
#D1CAA1
accent
#C54FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5262C4

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

Preview Lab → · Contrast checker → · Palette generator →

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