#5262AF#5262AF

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

Color values

HEX#5262AF
RGBrgb(82, 98, 175)
HSLhsl(230, 37%, 50%)
HSVhsv(230, 53%, 69%)
CMYKcmyk(53.1%, 44%, 0%, 31.4%)
CIE-LABlab(43.69, 16.38, -43.09)
CIE-LCHlch(43.69, 46.10, 290.81°)
OKLaboklab(52.06% 0.0056 -0.1224)
OKLCHoklch(52.06% 0.123 272.6)
XYZxyz(15.5827, 13.6233, 42.3576)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5262AF #AF9F52
analogous
#5291AF #5262AF #7052AF
triadic
#5262AF #AF5262 #62AF52
tetradic
#5262AF #AF5291 #AF9F52 #52AF70
square
#5262AF #AF5291 #AF9F52 #52AF70
split-complementary
#5262AF #AF7052 #91AF52
monochromatic
#2B335C #3E4A86 #5262AF #7C88C2 #A6AED6

Accessibility & contrast

On white

5.64
#5262AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5262AF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5262AF#FFFFFF#000000##FFFFFF
##5262AF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#3763AD
Tritanopia (blue-blind)
#277380
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5262af;
/* rgb */ color: rgb(82, 98, 175);
/* oklch */ color: oklch(52.1% 0.123 272.6);
Tailwind
colors: {
  custom: {
    50: '#898ec7',
    500: '#5262af',
    950: '#000000',
  },
}
SCSS
$custom: #5262af;
$custom-light: #898ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5262af",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 229.677,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52061,
    "c": 0.12253,
    "h": 272.6
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#5262AF
secondary
#C3BC9A
accent
#B95BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5262AF

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

Preview Lab → · Contrast checker → · Palette generator →

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