#2527C1#2527C1

#2527C1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.227 H 269.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2527C1
RGBrgb(37, 39, 193)
HSLhsl(239, 68%, 45%)
HSVhsv(239, 81%, 76%)
CMYKcmyk(80.8%, 79.8%, 0%, 24.3%)
CIE-LABlab(28.63, 52.13, -78.34)
CIE-LCHlch(28.63, 94.10, 303.64°)
OKLaboklab(40.72% -0.0002 -0.2268)
OKLCHoklch(40.72% 0.227 269.9)
XYZxyz(11.1108, 5.6933, 50.9551)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527C1 #C1BF25
analogous
#2575C1 #2527C1 #7125C1
triadic
#2527C1 #C12527 #27C125
tetradic
#2527C1 #C12575 #C1BF25 #25C171
square
#2527C1 #C12575 #C1BF25 #25C171
split-complementary
#2527C1 #C17125 #75C125
monochromatic
#11125A #1B1D8E #2527C1 #4749DC #7B7CE6

Accessibility & contrast

On white

9.82
#2527C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2527C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527C1
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527C1#FFFFFF#000000##FFFFFF
##2527C11.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003BBE
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2527c1;
/* rgb */ color: rgb(37, 39, 193);
/* oklch */ color: oklch(40.7% 0.227 269.9);
Tailwind
colors: {
  custom: {
    50: '#7d65d5',
    500: '#2527c1',
    950: '#000000',
  },
}
SCSS
$custom: #2527c1;
$custom-light: #7d65d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2527c1",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 193
  },
  "hsl": {
    "h": 239.231,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.40721,
    "c": 0.22685,
    "h": 269.9
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#2527C1
secondary
#CECC74
accent
#E83DEB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2527C1

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

Preview Lab → · Contrast checker → · Palette generator →

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