#2527AC#2527AC

#2527AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.3% C 0.202 H 271.1°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2527AC
RGBrgb(37, 39, 172)
HSLhsl(239, 65%, 41%)
HSVhsv(239, 78%, 67%)
CMYKcmyk(78.5%, 77.3%, 0%, 32.5%)
CIE-LABlab(26.22, 45.34, -69.82)
CIE-LCHlch(26.22, 83.25, 303.00°)
OKLaboklab(38.34% 0.0038 -0.2022)
OKLCHoklch(38.34% 0.202 271.1)
XYZxyz(8.9323, 4.8219, 39.4817)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527AC #ACAA25
analogous
#256AAC #2527AC #6625AC
triadic
#2527AC #AC2527 #27AC25
tetradic
#2527AC #AC256A #ACAA25 #25AC66
square
#2527AC #AC256A #ACAA25 #25AC66
split-complementary
#2527AC #AC6625 #6AAC25
monochromatic
#0F1047 #1A1C7A #2527AC #3A3CD5 #6C6EDF

Accessibility & contrast

On white

10.69
#2527AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2527AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527AC
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527AC#FFFFFF#000000##FFFFFF
##2527AC1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2527ac;
/* rgb */ color: rgb(37, 39, 172);
/* oklch */ color: oklch(38.3% 0.202 271.1);
Tailwind
colors: {
  custom: {
    50: '#7863c6',
    500: '#2527ac',
    950: '#000000',
  },
}
SCSS
$custom: #2527ac;
$custom-light: #7863c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2527ac",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 239.111,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38336,
    "c": 0.20221,
    "h": 271.1
  },
  "luminance": 0.04823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2527AC

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

Preview Lab → · Contrast checker → · Palette generator →

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