#2527A7#2527A7

#2527A7 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.196 H 271.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2527A7
RGBrgb(37, 39, 167)
HSLhsl(239, 64%, 40%)
HSVhsv(239, 78%, 65%)
CMYKcmyk(77.8%, 76.6%, 0%, 34.5%)
CIE-LABlab(25.66, 43.67, -67.73)
CIE-LCHlch(25.66, 80.59, 302.81°)
OKLaboklab(37.78% 0.0047 -0.1961)
OKLCHoklch(37.78% 0.196 271.4)
XYZxyz(8.4612, 4.6334, 37.0001)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527A7 #A7A525
analogous
#2568A7 #2527A7 #6425A7
triadic
#2527A7 #A72527 #27A725
tetradic
#2527A7 #A72568 #A7A525 #25A764
square
#2527A7 #A72568 #A7A525 #25A764
split-complementary
#2527A7 #A76425 #68A725
monochromatic
#0F1043 #1A1B75 #2527A7 #3739D3 #696BDE

Accessibility & contrast

On white

10.90
#2527A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2527A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527A7
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527A7#FFFFFF#000000##FFFFFF
##2527A71.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2527a7;
/* rgb */ color: rgb(37, 39, 167);
/* oklch */ color: oklch(37.8% 0.196 271.4);
Tailwind
colors: {
  custom: {
    50: '#7763c2',
    500: '#2527a7',
    950: '#000000',
  },
}
SCSS
$custom: #2527a7;
$custom-light: #7763c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2527a7",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 239.077,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.37779,
    "c": 0.19616,
    "h": 271.4
  },
  "luminance": 0.04634
}

Semantic roles & 50–950 ramp

primary
#2527A7
secondary
#C4C264
accent
#E441E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2527A7

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

Preview Lab → · Contrast checker → · Palette generator →

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