#5267B2#5267B2

#5267B2 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.3% C 0.120 H 270.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5267B2
RGBrgb(82, 103, 178)
HSLhsl(227, 38%, 51%)
HSVhsv(227, 54%, 70%)
CMYKcmyk(53.9%, 42.1%, 0%, 30.2%)
CIE-LABlab(45.23, 14.22, -42.39)
CIE-LCHlch(45.23, 44.71, 288.55°)
OKLaboklab(53.3% 0.0003 -0.1203)
OKLCHoklch(53.3% 0.12 270.1)
XYZxyz(16.3632, 14.7075, 44.0874)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267B2 #B29D52
analogous
#5297B2 #5267B2 #6D52B2
triadic
#5267B2 #B25267 #67B252
tetradic
#5267B2 #B25297 #B29D52 #52B26D
square
#5267B2 #B25297 #B29D52 #52B26D
split-complementary
#5267B2 #B26D52 #97B252
monochromatic
#2A365F #3D4E8A #5267B2 #7C8CC5 #A7B1D8

Accessibility & contrast

On white

5.33
#5267B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5267B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267B2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267B2#FFFFFF#000000##FFFFFF
##5267B21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486FB5
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#227784
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5267b2;
/* rgb */ color: rgb(82, 103, 178);
/* oklch */ color: oklch(53.3% 0.120 270.1);
Tailwind
colors: {
  custom: {
    50: '#8992c9',
    500: '#5267b2',
    950: '#000000',
  },
}
SCSS
$custom: #5267b2;
$custom-light: #8992c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5267b2",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 178
  },
  "hsl": {
    "h": 226.875,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53298,
    "c": 0.12031,
    "h": 270.1
  },
  "luminance": 0.14709
}

Semantic roles & 50–950 ramp

primary
#5267B2
secondary
#C5BC9B
accent
#B559CE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5267B2

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

Preview Lab → · Contrast checker → · Palette generator →

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