#5259EB#5259EB

#5259EB is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.216 H 274.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5259EB
RGBrgb(82, 89, 235)
HSLhsl(237, 79%, 62%)
HSVhsv(237, 65%, 92%)
CMYKcmyk(65.1%, 62.1%, 0%, 7.8%)
CIE-LABlab(45.54, 41.91, -74.59)
CIE-LCHlch(45.54, 85.56, 299.33°)
OKLaboklab(54.76% 0.0173 -0.2151)
OKLCHoklch(54.76% 0.216 274.6)
XYZxyz(22.0425, 14.9348, 80.3022)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259EB #EBE452
analogous
#52A6EB #5259EB #9852EB
triadic
#5259EB #EB5259 #59EB52
tetradic
#5259EB #EB52A6 #EBE452 #52EB98
square
#5259EB #EB52A6 #EBE452 #52EB98
split-complementary
#5259EB #EB9852 #A6EB52
monochromatic
#141BAE #1B24E5 #5259EB #898EF1 #C0C2F8

Accessibility & contrast

On white

5.27
#5259EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5259EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259EB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259EB#FFFFFF#000000##FFFFFF
##5259EB1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5259eb;
/* rgb */ color: rgb(82, 89, 235);
/* oklch */ color: oklch(54.8% 0.216 274.6);
Tailwind
colors: {
  custom: {
    50: '#9388f2',
    500: '#5259eb',
    950: '#000000',
  },
}
SCSS
$custom: #5259eb;
$custom-light: #9388f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5259eb",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 237.255,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54755,
    "c": 0.21576,
    "h": 274.6
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#5259EB
secondary
#E8E6B0
accent
#D20ADC
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5259EB

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

Preview Lab → · Contrast checker → · Palette generator →

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