#5262C3#5262C3

#5262C3 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.4% C 0.151 H 273.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5262C3
RGBrgb(82, 98, 195)
HSLhsl(232, 48%, 54%)
HSVhsv(232, 58%, 76%)
CMYKcmyk(57.9%, 49.7%, 0%, 23.5%)
CIE-LABlab(44.90, 23.01, -52.80)
CIE-LCHlch(44.90, 57.60, 293.55°)
OKLaboklab(53.37% 0.0084 -0.1509)
OKLCHoklch(53.37% 0.151 273.2)
XYZxyz(17.6945, 14.4680, 53.4793)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5262C3 #C3B352
analogous
#529BC3 #5262C3 #7A52C3
triadic
#5262C3 #C35262 #62C352
tetradic
#5262C3 #C3529B #C3B352 #52C37A
square
#5262C3 #C3529B #C3B352 #52C37A
split-complementary
#5262C3 #C37A52 #9BC352
monochromatic
#283273 #3846A0 #5262C3 #7F8BD3 #ADB4E3

Accessibility & contrast

On white

5.39
#5262C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5262C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5262C3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5262C3#FFFFFF#000000##FFFFFF
##5262C31.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306FC6
Deuteranopia (green-blind)
#1C66C1
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5262c3;
/* rgb */ color: rgb(82, 98, 195);
/* oklch */ color: oklch(53.4% 0.151 273.2);
Tailwind
colors: {
  custom: {
    50: '#8c8ed6',
    500: '#5262c3',
    950: '#000000',
  },
}
SCSS
$custom: #5262c3;
$custom-light: #8c8ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#5262c3",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 195
  },
  "hsl": {
    "h": 231.504,
    "s": 48.498,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53371,
    "c": 0.15117,
    "h": 273.2
  },
  "luminance": 0.14469
}

Semantic roles & 50–950 ramp

primary
#5262C3
secondary
#D0CAA0
accent
#C550D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5262C3

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

Preview Lab → · Contrast checker → · Palette generator →

#5262C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva