#5259AF#5259AF

#5259AF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.2% C 0.135 H 276.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5259AF
RGBrgb(82, 89, 175)
HSLhsl(235, 37%, 50%)
HSVhsv(235, 53%, 69%)
CMYKcmyk(53.1%, 49.1%, 0%, 31.4%)
CIE-LABlab(41.27, 22.07, -46.96)
CIE-LCHlch(41.27, 51.89, 295.18°)
OKLaboklab(50.22% 0.0162 -0.1338)
OKLCHoklch(50.22% 0.135 276.9)
XYZxyz(14.7875, 12.0328, 42.0925)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259AF #AFA852
analogous
#5287AF #5259AF #7952AF
triadic
#5259AF #AF5259 #59AF52
tetradic
#5259AF #AF5287 #AFA852 #52AF79
square
#5259AF #AF5287 #AFA852 #52AF79
split-complementary
#5259AF #AF7952 #87AF52
monochromatic
#2B2E5C #3E4386 #5259AF #7C81C2 #A6A9D6

Accessibility & contrast

On white

6.16
#5259AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5259AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259AF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259AF#FFFFFF#000000##FFFFFF
##5259AF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#265EAD
Tritanopia (blue-blind)
#286C7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5259af;
/* rgb */ color: rgb(82, 89, 175);
/* oklch */ color: oklch(50.2% 0.135 276.9);
Tailwind
colors: {
  custom: {
    50: '#8987c7',
    500: '#5259af',
    950: '#000000',
  },
}
SCSS
$custom: #5259af;
$custom-light: #8987c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5259af",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 235.484,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50222,
    "c": 0.1348,
    "h": 276.9
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#5259AF
secondary
#C3C09A
accent
#C45BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5259AF

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

Preview Lab → · Contrast checker → · Palette generator →

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