#5262DF#5262DF

#5262DF is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.4% C 0.189 H 273.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5262DF
RGBrgb(82, 98, 223)
HSLhsl(233, 69%, 60%)
HSVhsv(233, 63%, 87%)
CMYKcmyk(63.2%, 56.1%, 0%, 12.5%)
CIE-LABlab(46.78, 32.43, -65.79)
CIE-LCHlch(46.78, 73.34, 296.24°)
OKLaboklab(55.39% 0.0101 -0.1891)
OKLCHoklch(55.39% 0.189 273.1)
XYZxyz(21.1622, 15.8551, 71.7429)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5262DF #DFCF52
analogous
#52A9DF #5262DF #8852DF
triadic
#5262DF #DF5262 #62DF52
tetradic
#5262DF #DF52A9 #DFCF52 #52DF88
square
#5262DF #DF52A9 #DFCF52 #52DF88
split-complementary
#5262DF #DF8852 #A9DF52
monochromatic
#1D2B9A #2639CE #5262DF #8691E9 #B9C0F2

Accessibility & contrast

On white

5.03
#5262DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5262DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5262DF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5262DF#FFFFFF#000000##FFFFFF
##5262DF1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5262df;
/* rgb */ color: rgb(82, 98, 223);
/* oklch */ color: oklch(55.4% 0.189 273.1);
Tailwind
colors: {
  custom: {
    50: '#918eea',
    500: '#5262df',
    950: '#000000',
  },
}
SCSS
$custom: #5262df;
$custom-light: #918eea;
$custom-dark: #000000;
JSON
{
  "hex": "#5262df",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 233.191,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55389,
    "c": 0.1894,
    "h": 273.1
  },
  "luminance": 0.15857
}

Semantic roles & 50–950 ramp

primary
#5262DF
secondary
#E2DBAB
accent
#D83CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5262DF

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

Preview Lab → · Contrast checker → · Palette generator →

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