#2527C4#2527C4

#2527C4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.1% C 0.230 H 269.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2527C4
RGBrgb(37, 39, 196)
HSLhsl(239, 68%, 46%)
HSVhsv(239, 81%, 77%)
CMYKcmyk(81.1%, 80.1%, 0%, 23.1%)
CIE-LABlab(28.98, 53.07, -79.52)
CIE-LCHlch(28.98, 95.60, 303.72°)
OKLaboklab(41.07% -0.0008 -0.2303)
OKLCHoklch(41.07% 0.23 269.8)
XYZxyz(11.4489, 5.8285, 52.7355)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527C4 #C4C225
analogous
#2577C4 #2527C4 #7225C4
triadic
#2527C4 #C42527 #27C425
tetradic
#2527C4 #C42577 #C4C225 #25C472
square
#2527C4 #C42577 #C4C225 #25C472
split-complementary
#2527C4 #C47225 #77C425
monochromatic
#12135D #1B1D91 #2527C4 #494BDD #7D7EE6

Accessibility & contrast

On white

9.70
#2527C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2527C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527C4
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527C4#FFFFFF#000000##FFFFFF
##2527C41.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC8
Deuteranopia (green-blind)
#003CC1
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2527c4;
/* rgb */ color: rgb(37, 39, 196);
/* oklch */ color: oklch(41.1% 0.230 269.8);
Tailwind
colors: {
  custom: {
    50: '#7e65d7',
    500: '#2527c4',
    950: '#000000',
  },
}
SCSS
$custom: #2527c4;
$custom-light: #7e65d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2527c4",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 239.245,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41067,
    "c": 0.23028,
    "h": 269.8
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#2527C4
secondary
#CFCE76
accent
#E93DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2527C4

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

Preview Lab → · Contrast checker → · Palette generator →

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