#2527A2#2527A2

#2527A2 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.190 H 271.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2527A2
RGBrgb(37, 39, 162)
HSLhsl(239, 63%, 39%)
HSVhsv(239, 77%, 64%)
CMYKcmyk(77.2%, 75.9%, 0%, 36.5%)
CIE-LABlab(25.11, 41.98, -65.61)
CIE-LCHlch(25.11, 77.89, 302.61°)
OKLaboklab(37.23% 0.0056 -0.1899)
OKLCHoklch(37.23% 0.19 271.7)
XYZxyz(8.0079, 4.4521, 34.6127)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527A2 #A2A025
analogous
#2566A2 #2527A2 #6225A2
triadic
#2527A2 #A22527 #27A225
tetradic
#2527A2 #A22566 #A2A025 #25A262
square
#2527A2 #A22566 #A2A025 #25A262
split-complementary
#2527A2 #A26225 #66A225
monochromatic
#0E0F3E #1A1B70 #2527A2 #3436D1 #6567DC

Accessibility & contrast

On white

11.11
#2527A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2527A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527A2
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527A2#FFFFFF#000000##FFFFFF
##2527A21.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#0035A0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2527a2;
/* rgb */ color: rgb(37, 39, 162);
/* oklch */ color: oklch(37.2% 0.190 271.7);
Tailwind
colors: {
  custom: {
    50: '#7663bf',
    500: '#2527a2',
    950: '#000000',
  },
}
SCSS
$custom: #2527a2;
$custom-light: #7663bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2527a2",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 239.04,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37226,
    "c": 0.19002,
    "h": 271.7
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#2527A2
secondary
#C2C061
accent
#E342E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2527A2

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

Preview Lab → · Contrast checker → · Palette generator →

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