#5268B2#5268B2

#5268B2 is a mid, moderate blue. Relative luminance 0.149; OKLCH L 53.5% C 0.119 H 269.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5268B2
RGBrgb(82, 104, 178)
HSLhsl(226, 38%, 51%)
HSVhsv(226, 54%, 70%)
CMYKcmyk(53.9%, 41.6%, 0%, 30.2%)
CIE-LABlab(45.51, 13.60, -41.95)
CIE-LCHlch(45.51, 44.10, 287.96°)
OKLaboklab(53.51% -0.0009 -0.119)
OKLCHoklch(53.51% 0.119 269.6)
XYZxyz(16.4632, 14.9077, 44.1208)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5268B2 #B29C52
analogous
#5298B2 #5268B2 #6C52B2
triadic
#5268B2 #B25268 #68B252
tetradic
#5268B2 #B25298 #B29C52 #52B26C
square
#5268B2 #B25298 #B29C52 #52B26C
split-complementary
#5268B2 #B26C52 #98B252
monochromatic
#2A365F #3D4F8A #5268B2 #7C8DC5 #A7B2D8

Accessibility & contrast

On white

5.27
#5268B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5268B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5268B2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5268B2#FFFFFF#000000##FFFFFF
##5268B21.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#3E68B0
Tritanopia (blue-blind)
#227884
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5268b2;
/* rgb */ color: rgb(82, 104, 178);
/* oklch */ color: oklch(53.5% 0.119 269.6);
Tailwind
colors: {
  custom: {
    50: '#8992c9',
    500: '#5268b2',
    950: '#000000',
  },
}
SCSS
$custom: #5268b2;
$custom-light: #8992c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5268b2",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 178
  },
  "hsl": {
    "h": 226.25,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53511,
    "c": 0.11901,
    "h": 269.6
  },
  "luminance": 0.14909
}

Semantic roles & 50–950 ramp

primary
#5268B2
secondary
#C5BB9B
accent
#B459CE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0D13
muted
#7D7D82

Preview Lab

Preview with #5268B2

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

Preview Lab → · Contrast checker → · Palette generator →

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