#2527AE#2527AE

#2527AE is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.205 H 271.0°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2527AE
RGBrgb(37, 39, 174)
HSLhsl(239, 65%, 41%)
HSVhsv(239, 79%, 68%)
CMYKcmyk(78.7%, 77.6%, 0%, 31.8%)
CIE-LABlab(26.45, 46.00, -70.65)
CIE-LCHlch(26.45, 84.31, 303.07°)
OKLaboklab(38.56% 0.0034 -0.2046)
OKLCHoklch(38.56% 0.205 271)
XYZxyz(9.1259, 4.8993, 40.5009)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527AE #AEAC25
analogous
#256CAE #2527AE #6825AE
triadic
#2527AE #AE2527 #27AE25
tetradic
#2527AE #AE256C #AEAC25 #25AE68
square
#2527AE #AE256C #AEAC25 #25AE68
split-complementary
#2527AE #AE6825 #6CAE25
monochromatic
#101049 #1A1C7C #2527AE #3B3DD5 #6D6FE0

Accessibility & contrast

On white

10.61
#2527AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2527AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527AE
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527AE#FFFFFF#000000##FFFFFF
##2527AE1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2527ae;
/* rgb */ color: rgb(37, 39, 174);
/* oklch */ color: oklch(38.6% 0.205 271.0);
Tailwind
colors: {
  custom: {
    50: '#7963c8',
    500: '#2527ae',
    950: '#000000',
  },
}
SCSS
$custom: #2527ae;
$custom-light: #7963c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2527ae",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 239.124,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.3856,
    "c": 0.20461,
    "h": 271
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#2527AE
secondary
#C6C568
accent
#E540E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2527AE

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

Preview Lab → · Contrast checker → · Palette generator →

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