#5275EF#5275EF

#5275EF is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.2% C 0.187 H 268.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5275EF
RGBrgb(82, 117, 239)
HSLhsl(227, 83%, 63%)
HSVhsv(227, 66%, 94%)
CMYKcmyk(65.7%, 51%, 0%, 6.3%)
CIE-LABlab(52.67, 26.13, -65.26)
CIE-LCHlch(52.67, 70.30, 291.82°)
OKLaboklab(60.16% -0.0057 -0.1873)
OKLCHoklch(60.16% 0.187 268.3)
XYZxyz(25.4156, 20.7460, 84.3096)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5275EF #EFCC52
analogous
#52C4EF #5275EF #7D52EF
triadic
#5275EF #EF5275 #75EF52
tetradic
#5275EF #EF52C4 #EFCC52 #52EF7D
square
#5275EF #EF52C4 #EFCC52 #52EF7D
split-complementary
#5275EF #EF7D52 #C4EF52
monochromatic
#1136B6 #1A48EA #5275EF #8AA2F4 #C2CEF9

Accessibility & contrast

On white

4.08
#5275EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5275EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5275EF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5275EF#FFFFFF#000000##000000
##5275EF1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A85F3
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5275ef;
/* rgb */ color: rgb(82, 117, 239);
/* oklch */ color: oklch(60.2% 0.187 268.3);
Tailwind
colors: {
  custom: {
    50: '#929cf5',
    500: '#5275ef',
    950: '#000000',
  },
}
SCSS
$custom: #5275ef;
$custom-light: #929cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5275ef",
  "rgb": {
    "r": 82,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 226.624,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60161,
    "c": 0.18743,
    "h": 268.3
  },
  "luminance": 0.20748
}

Semantic roles & 50–950 ramp

primary
#5275EF
secondary
#EBDEB2
accent
#AF06DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5275EF

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

Preview Lab → · Contrast checker → · Palette generator →

#5275EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva