#5267BF#5267BF

#5267BF is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.1% C 0.139 H 271.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5267BF
RGBrgb(82, 103, 191)
HSLhsl(228, 46%, 54%)
HSVhsv(228, 57%, 75%)
CMYKcmyk(57.1%, 46.1%, 0%, 25.1%)
CIE-LABlab(45.98, 18.53, -48.75)
CIE-LCHlch(45.98, 52.16, 290.82°)
OKLaboklab(54.12% 0.0025 -0.139)
OKLCHoklch(54.12% 0.139 271)
XYZxyz(17.7308, 15.2546, 51.2902)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267BF #BFAA52
analogous
#529EBF #5267BF #7352BF
triadic
#5267BF #BF5267 #67BF52
tetradic
#5267BF #BF529E #BFAA52 #52BF73
square
#5267BF #BF529E #BFAA52 #52BF73
split-complementary
#5267BF #BF7352 #9EBF52
monochromatic
#29366E #394C9B #5267BF #7F8ED0 #ABB6E0

Accessibility & contrast

On white

5.18
#5267BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5267BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267BF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267BF#FFFFFF#000000##FFFFFF
##5267BF1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#2F68BD
Tritanopia (blue-blind)
#087B8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5267bf;
/* rgb */ color: rgb(82, 103, 191);
/* oklch */ color: oklch(54.1% 0.139 271.0);
Tailwind
colors: {
  custom: {
    50: '#8b92d3',
    500: '#5267bf',
    950: '#000000',
  },
}
SCSS
$custom: #5267bf;
$custom-light: #8b92d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5267bf",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 191
  },
  "hsl": {
    "h": 228.44,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54115,
    "c": 0.13899,
    "h": 271
  },
  "luminance": 0.15256
}

Semantic roles & 50–950 ramp

primary
#5267BF
secondary
#CEC59F
accent
#BC52D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #5267BF

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

Preview Lab → · Contrast checker → · Palette generator →

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