#2527A4#2527A4

#2527A4 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.192 H 271.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2527A4
RGBrgb(37, 39, 164)
HSLhsl(239, 63%, 39%)
HSVhsv(239, 77%, 64%)
CMYKcmyk(77.4%, 76.2%, 0%, 35.7%)
CIE-LABlab(25.33, 42.66, -66.46)
CIE-LCHlch(25.33, 78.98, 302.69°)
OKLaboklab(37.45% 0.0053 -0.1924)
OKLCHoklch(37.45% 0.192 271.6)
XYZxyz(8.1870, 4.5238, 35.5565)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527A4 #A4A225
analogous
#2567A4 #2527A4 #6325A4
triadic
#2527A4 #A42527 #27A425
tetradic
#2527A4 #A42567 #A4A225 #25A463
square
#2527A4 #A42567 #A4A225 #25A463
split-complementary
#2527A4 #A46325 #67A425
monochromatic
#0E0F40 #1A1B72 #2527A4 #3537D1 #6769DD

Accessibility & contrast

On white

11.02
#2527A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2527A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527A4
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527A4#FFFFFF#000000##FFFFFF
##2527A41.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2527a4;
/* rgb */ color: rgb(37, 39, 164);
/* oklch */ color: oklch(37.4% 0.192 271.6);
Tailwind
colors: {
  custom: {
    50: '#7663c0',
    500: '#2527a4',
    950: '#000000',
  },
}
SCSS
$custom: #2527a4;
$custom-light: #7663c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2527a4",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 239.055,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37447,
    "c": 0.19249,
    "h": 271.6
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#2527A4
secondary
#C2C162
accent
#E442E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2527A4

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

Preview Lab → · Contrast checker → · Palette generator →

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