#5262AE#5262AE

#5262AE is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.0% C 0.121 H 272.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5262AE
RGBrgb(82, 98, 174)
HSLhsl(230, 36%, 50%)
HSVhsv(230, 53%, 68%)
CMYKcmyk(52.9%, 43.7%, 0%, 31.8%)
CIE-LABlab(43.63, 16.05, -42.59)
CIE-LCHlch(43.63, 45.52, 290.65°)
OKLaboklab(52% 0.0055 -0.1209)
OKLCHoklch(52% 0.121 272.6)
XYZxyz(15.4849, 13.5842, 41.8422)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5262AE #AE9E52
analogous
#5290AE #5262AE #7052AE
triadic
#5262AE #AE5262 #62AE52
tetradic
#5262AE #AE5290 #AE9E52 #52AE70
square
#5262AE #AE5290 #AE9E52 #52AE70
split-complementary
#5262AE #AE7052 #90AE52
monochromatic
#2B335B #3E4A85 #5262AE #7C88C2 #A5AED5

Accessibility & contrast

On white

5.65
#5262AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5262AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5262AE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5262AE#FFFFFF#000000##FFFFFF
##5262AE1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#28727F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5262ae;
/* rgb */ color: rgb(82, 98, 174);
/* oklch */ color: oklch(52.0% 0.121 272.6);
Tailwind
colors: {
  custom: {
    50: '#898ec6',
    500: '#5262ae',
    950: '#000000',
  },
}
SCSS
$custom: #5262ae;
$custom-light: #898ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#5262ae",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 229.565,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.12107,
    "h": 272.6
  },
  "luminance": 0.13585
}

Semantic roles & 50–950 ramp

primary
#5262AE
secondary
#C2BB99
accent
#B95CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5262AE

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

Preview Lab → · Contrast checker → · Palette generator →

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