#2527A0#2527A0

#2527A0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.188 H 271.8°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#2527A0
RGBrgb(37, 39, 160)
HSLhsl(239, 62%, 39%)
HSVhsv(239, 77%, 63%)
CMYKcmyk(76.9%, 75.6%, 0%, 37.3%)
CIE-LABlab(24.89, 41.30, -64.76)
CIE-LCHlch(24.89, 76.81, 302.53°)
OKLaboklab(37.01% 0.006 -0.1875)
OKLCHoklch(37.01% 0.188 271.8)
XYZxyz(7.8315, 4.3816, 33.6839)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527A0 #A09E25
analogous
#2564A0 #2527A0 #6025A0
triadic
#2527A0 #A02527 #27A025
tetradic
#2527A0 #A02564 #A09E25 #25A060
square
#2527A0 #A02564 #A09E25 #25A060
split-complementary
#2527A0 #A06025 #64A025
monochromatic
#0E0F3D #1A1B6E #2527A0 #3235D0 #6466DB

Accessibility & contrast

On white

11.19
#2527A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2527A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527A0
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527A0#FFFFFF#000000##FFFFFF
##2527A01.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2527a0;
/* rgb */ color: rgb(37, 39, 160);
/* oklch */ color: oklch(37.0% 0.188 271.8);
Tailwind
colors: {
  custom: {
    50: '#7563bd',
    500: '#2527a0',
    950: '#000000',
  },
}
SCSS
$custom: #2527a0;
$custom-light: #7563bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2527a0",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 239.024,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37007,
    "c": 0.18756,
    "h": 271.8
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#2527A0
secondary
#C1BF60
accent
#E342E6
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2527A0

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

Preview Lab → · Contrast checker → · Palette generator →

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