#5268BF#5268BF

#5268BF is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.3% C 0.138 H 270.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5268BF
RGBrgb(82, 104, 191)
HSLhsl(228, 46%, 54%)
HSVhsv(228, 57%, 75%)
CMYKcmyk(57.1%, 45.5%, 0%, 25.1%)
CIE-LABlab(46.25, 17.91, -48.32)
CIE-LCHlch(46.25, 51.53, 290.33°)
OKLaboklab(54.32% 0.0014 -0.1377)
OKLCHoklch(54.32% 0.138 270.6)
XYZxyz(17.8308, 15.4547, 51.3235)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5268BF #BFA952
analogous
#529EBF #5268BF #7252BF
triadic
#5268BF #BF5268 #68BF52
tetradic
#5268BF #BF529E #BFA952 #52BF72
square
#5268BF #BF529E #BFA952 #52BF72
split-complementary
#5268BF #BF7252 #9EBF52
monochromatic
#29376E #394D9B #5268BF #7F8FD0 #ABB6E0

Accessibility & contrast

On white

5.13
#5268BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5268BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5268BF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5268BF#FFFFFF#000000##FFFFFF
##5268BF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4073C2
Deuteranopia (green-blind)
#3269BD
Tritanopia (blue-blind)
#077B8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5268bf;
/* rgb */ color: rgb(82, 104, 191);
/* oklch */ color: oklch(54.3% 0.138 270.6);
Tailwind
colors: {
  custom: {
    50: '#8b92d3',
    500: '#5268bf',
    950: '#000000',
  },
}
SCSS
$custom: #5268bf;
$custom-light: #8b92d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5268bf",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 191
  },
  "hsl": {
    "h": 227.89,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54321,
    "c": 0.1377,
    "h": 270.6
  },
  "luminance": 0.15456
}

Semantic roles & 50–950 ramp

primary
#5268BF
secondary
#CEC49F
accent
#BB52D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0D14
muted
#7D7D83

Preview Lab

Preview with #5268BF

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

Preview Lab → · Contrast checker → · Palette generator →

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