#5267D4#5267D4

#5267D4 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.5% C 0.168 H 271.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5267D4
RGBrgb(82, 103, 212)
HSLhsl(230, 60%, 58%)
HSVhsv(230, 61%, 83%)
CMYKcmyk(61.3%, 51.4%, 0%, 16.9%)
CIE-LABlab(47.30, 25.60, -58.70)
CIE-LCHlch(47.30, 64.05, 293.56°)
OKLaboklab(55.54% 0.0049 -0.1682)
OKLCHoklch(55.54% 0.168 271.7)
XYZxyz(20.2096, 16.2461, 64.3454)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267D4 #D4BF52
analogous
#52A8D4 #5267D4 #7E52D4
triadic
#5267D4 #D45267 #67D452
tetradic
#5267D4 #D452A8 #D4BF52 #52D47E
square
#5267D4 #D452A8 #D4BF52 #52D47E
split-complementary
#5267D4 #D47E52 #A8D452
monochromatic
#223389 #2E45BA #5267D4 #8392E0 #B4BDEC

Accessibility & contrast

On white

4.94
#5267D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5267D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267D4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267D4#FFFFFF#000000##FFFFFF
##5267D41.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2776D8
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5267d4;
/* rgb */ color: rgb(82, 103, 212);
/* oklch */ color: oklch(55.5% 0.168 271.7);
Tailwind
colors: {
  custom: {
    50: '#8e92e2',
    500: '#5267d4',
    950: '#000000',
  },
}
SCSS
$custom: #5267d4;
$custom-light: #8e92e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5267d4",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 212
  },
  "hsl": {
    "h": 230.308,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55535,
    "c": 0.1683,
    "h": 271.7
  },
  "luminance": 0.16248
}

Semantic roles & 50–950 ramp

primary
#5267D4
secondary
#DBD3A7
accent
#CA44E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5267D4

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

Preview Lab → · Contrast checker → · Palette generator →

#5267D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva