#2527C5#2527C5

#2527C5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.2% C 0.231 H 269.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2527C5
RGBrgb(37, 39, 197)
HSLhsl(239, 68%, 46%)
HSVhsv(239, 81%, 77%)
CMYKcmyk(81.2%, 80.2%, 0%, 22.7%)
CIE-LABlab(29.09, 53.39, -79.91)
CIE-LCHlch(29.09, 96.10, 303.74°)
OKLaboklab(41.18% -0.001 -0.2314)
OKLCHoklch(41.18% 0.231 269.7)
XYZxyz(11.5631, 5.8742, 53.3369)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527C5 #C5C325
analogous
#2577C5 #2527C5 #7325C5
triadic
#2527C5 #C52527 #27C525
tetradic
#2527C5 #C52577 #C5C325 #25C573
square
#2527C5 #C52577 #C5C325 #25C573
split-complementary
#2527C5 #C57325 #77C525
monochromatic
#12135E #1B1D91 #2527C5 #4A4CDD #7E7FE7

Accessibility & contrast

On white

9.65
#2527C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2527C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527C5
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527C5#FFFFFF#000000##FFFFFF
##2527C51.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC9
Deuteranopia (green-blind)
#003CC2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2527c5;
/* rgb */ color: rgb(37, 39, 197);
/* oklch */ color: oklch(41.2% 0.231 269.7);
Tailwind
colors: {
  custom: {
    50: '#7e65d8',
    500: '#2527c5',
    950: '#000000',
  },
}
SCSS
$custom: #2527c5;
$custom-light: #7e65d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2527c5",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 197
  },
  "hsl": {
    "h": 239.25,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41182,
    "c": 0.23141,
    "h": 269.7
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#2527C5
secondary
#CFCE77
accent
#E93DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2527C5

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

Preview Lab → · Contrast checker → · Palette generator →

#2527C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva