#5267CB#5267CB

#5267CB is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.9% C 0.156 H 271.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5267CB
RGBrgb(82, 103, 203)
HSLhsl(230, 54%, 56%)
HSVhsv(230, 60%, 80%)
CMYKcmyk(59.6%, 49.3%, 0%, 20.4%)
CIE-LABlab(46.72, 22.56, -54.49)
CIE-LCHlch(46.72, 58.97, 292.49°)
OKLaboklab(54.91% 0.004 -0.1558)
OKLCHoklch(54.91% 0.156 271.5)
XYZxyz(19.1058, 15.8046, 58.5321)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267CB #CBB652
analogous
#52A3CB #5267CB #7952CB
triadic
#5267CB #CB5267 #67CB52
tetradic
#5267CB #CB52A3 #CBB652 #52CB79
square
#5267CB #CB52A3 #CBB652 #52CB79
split-complementary
#5267CB #CB7952 #A3CB52
monochromatic
#26357D #3449AC #5267CB #8190D9 #B0BAE7

Accessibility & contrast

On white

5.05
#5267CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5267CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267CB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267CB#FFFFFF#000000##FFFFFF
##5267CB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#1C6AC9
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5267cb;
/* rgb */ color: rgb(82, 103, 203);
/* oklch */ color: oklch(54.9% 0.156 271.5);
Tailwind
colors: {
  custom: {
    50: '#8d92db',
    500: '#5267cb',
    950: '#000000',
  },
}
SCSS
$custom: #5267cb;
$custom-light: #8d92db;
$custom-dark: #000000;
JSON
{
  "hex": "#5267cb",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 203
  },
  "hsl": {
    "h": 229.587,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54912,
    "c": 0.15588,
    "h": 271.5
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#5267CB
secondary
#D5CDA3
accent
#C44BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5267CB

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

Preview Lab → · Contrast checker → · Palette generator →

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