#5259EF#5259EF

#5259EF is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.1% C 0.221 H 274.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5259EF
RGBrgb(82, 89, 239)
HSLhsl(237, 83%, 63%)
HSVhsv(237, 66%, 94%)
CMYKcmyk(65.7%, 62.8%, 0%, 6.3%)
CIE-LABlab(45.86, 43.23, -76.31)
CIE-LCHlch(45.86, 87.71, 299.53°)
OKLaboklab(55.09% 0.0171 -0.2201)
OKLCHoklch(55.09% 0.221 274.4)
XYZxyz(22.6269, 15.1686, 83.3800)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5259EF #EFE852
analogous
#52A7EF #5259EF #9952EF
triadic
#5259EF #EF5259 #59EF52
tetradic
#5259EF #EF52A7 #EFE852 #52EF99
square
#5259EF #EF52A7 #EFE852 #52EF99
split-complementary
#5259EF #EF9952 #A7EF52
monochromatic
#1118B6 #1A23EA #5259EF #8A8FF4 #C2C5F9

Accessibility & contrast

On white

5.21
#5259EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5259EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5259EF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5259EF#FFFFFF#000000##FFFFFF
##5259EF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0066EC
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5259ef;
/* rgb */ color: rgb(82, 89, 239);
/* oklch */ color: oklch(55.1% 0.221 274.4);
Tailwind
colors: {
  custom: {
    50: '#9488f5',
    500: '#5259ef',
    950: '#000000',
  },
}
SCSS
$custom: #5259ef;
$custom-light: #9488f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5259ef",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 237.325,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.22079,
    "h": 274.4
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#5259EF
secondary
#EBE8B2
accent
#D606DF
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5259EF

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

Preview Lab → · Contrast checker → · Palette generator →

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