#5267CA#5267CA

#5267CA is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.8% C 0.154 H 271.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5267CA
RGBrgb(82, 103, 202)
HSLhsl(230, 53%, 56%)
HSVhsv(230, 59%, 79%)
CMYKcmyk(59.4%, 49%, 0%, 20.8%)
CIE-LABlab(46.65, 22.23, -54.01)
CIE-LCHlch(46.65, 58.41, 292.37°)
OKLaboklab(54.84% 0.0039 -0.1544)
OKLCHoklch(54.84% 0.154 271.4)
XYZxyz(18.9871, 15.7571, 57.9065)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267CA #CAB552
analogous
#52A3CA #5267CA #7952CA
triadic
#5267CA #CA5267 #67CA52
tetradic
#5267CA #CA52A3 #CAB552 #52CA79
square
#5267CA #CA52A3 #CAB552 #52CA79
split-complementary
#5267CA #CA7952 #A3CA52
monochromatic
#26357C #3449AB #5267CA #8190D8 #B0B9E7

Accessibility & contrast

On white

5.06
#5267CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5267CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267CA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267CA#FFFFFF#000000##FFFFFF
##5267CA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#1E6AC8
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5267ca;
/* rgb */ color: rgb(82, 103, 202);
/* oklch */ color: oklch(54.8% 0.154 271.4);
Tailwind
colors: {
  custom: {
    50: '#8d92db',
    500: '#5267ca',
    950: '#000000',
  },
}
SCSS
$custom: #5267ca;
$custom-light: #8d92db;
$custom-dark: #000000;
JSON
{
  "hex": "#5267ca",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 202
  },
  "hsl": {
    "h": 229.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54844,
    "c": 0.15449,
    "h": 271.4
  },
  "luminance": 0.15759
}

Semantic roles & 50–950 ramp

primary
#5267CA
secondary
#D5CCA3
accent
#C34BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5267CA

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

Preview Lab → · Contrast checker → · Palette generator →

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