#5261AF#5261AF

#5261AF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.9% C 0.124 H 273.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5261AF
RGBrgb(82, 97, 175)
HSLhsl(230, 37%, 50%)
HSVhsv(230, 53%, 69%)
CMYKcmyk(53.1%, 44.6%, 0%, 31.4%)
CIE-LABlab(43.41, 17.01, -43.53)
CIE-LCHlch(43.41, 46.73, 291.35°)
OKLaboklab(51.85% 0.0068 -0.1237)
OKLCHoklch(51.85% 0.124 273.2)
XYZxyz(15.4897, 13.4373, 42.3266)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5261AF #AFA052
analogous
#528FAF #5261AF #7252AF
triadic
#5261AF #AF5261 #61AF52
tetradic
#5261AF #AF528F #AFA052 #52AF72
square
#5261AF #AF528F #AFA052 #52AF72
split-complementary
#5261AF #AF7252 #8FAF52
monochromatic
#2B335C #3E4A86 #5261AF #7C87C2 #A6ADD6

Accessibility & contrast

On white

5.69
#5261AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5261AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5261AF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5261AF#FFFFFF#000000##FFFFFF
##5261AF1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#3563AD
Tritanopia (blue-blind)
#27727F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5261af;
/* rgb */ color: rgb(82, 97, 175);
/* oklch */ color: oklch(51.9% 0.124 273.2);
Tailwind
colors: {
  custom: {
    50: '#898dc7',
    500: '#5261af',
    950: '#000000',
  },
}
SCSS
$custom: #5261af;
$custom-light: #898dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5261af",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 175
  },
  "hsl": {
    "h": 230.323,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51853,
    "c": 0.12387,
    "h": 273.2
  },
  "luminance": 0.13438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5261AF

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

Preview Lab → · Contrast checker → · Palette generator →

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