#5262DB#5262DB

#5262DB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.1% C 0.184 H 273.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5262DB
RGBrgb(82, 98, 219)
HSLhsl(233, 66%, 59%)
HSVhsv(233, 63%, 86%)
CMYKcmyk(62.6%, 55.3%, 0%, 14.1%)
CIE-LABlab(46.50, 31.08, -63.97)
CIE-LCHlch(46.50, 71.12, 295.91°)
OKLaboklab(55.09% 0.01 -0.1838)
OKLCHoklch(55.09% 0.184 273.1)
XYZxyz(20.6293, 15.6419, 68.9362)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5262DB #DBCB52
analogous
#52A7DB #5262DB #8752DB
triadic
#5262DB #DB5262 #62DB52
tetradic
#5262DB #DB52A7 #DBCB52 #52DB87
square
#5262DB #DB52A7 #DBCB52 #52DB87
split-complementary
#5262DB #DB8752 #A7DB52
monochromatic
#1F2C94 #293CC6 #5262DB #8590E6 #B7BEF0

Accessibility & contrast

On white

5.09
#5262DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5262DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5262DB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5262DB#FFFFFF#000000##FFFFFF
##5262DB1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5262db;
/* rgb */ color: rgb(82, 98, 219);
/* oklch */ color: oklch(55.1% 0.184 273.1);
Tailwind
colors: {
  custom: {
    50: '#908ee7',
    500: '#5262db',
    950: '#000000',
  },
}
SCSS
$custom: #5262db;
$custom-light: #908ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5262db",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 232.993,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55089,
    "c": 0.18407,
    "h": 273.1
  },
  "luminance": 0.15644
}

Semantic roles & 50–950 ramp

primary
#5262DB
secondary
#DFD9AA
accent
#D53FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5262DB

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

Preview Lab → · Contrast checker → · Palette generator →

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