#2527D4#2527D4

#2527D4 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.9% C 0.248 H 269.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2527D4
RGBrgb(37, 39, 212)
HSLhsl(239, 70%, 49%)
HSVhsv(239, 83%, 83%)
CMYKcmyk(82.5%, 81.6%, 0%, 16.9%)
CIE-LABlab(30.87, 58.00, -85.71)
CIE-LCHlch(30.87, 103.49, 304.09°)
OKLaboklab(42.93% -0.0039 -0.2482)
OKLCHoklch(42.93% 0.248 269.1)
XYZxyz(13.3681, 6.5962, 62.8432)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527D4 #D4D225
analogous
#257FD4 #2527D4 #7B25D4
triadic
#2527D4 #D42527 #27D425
tetradic
#2527D4 #D4257F #D4D225 #25D47B
square
#2527D4 #D4257F #D4D225 #25D47B
split-complementary
#2527D4 #D47B25 #7FD425
monochromatic
#13146C #1C1DA0 #2527D4 #5556E1 #898AEA

Accessibility & contrast

On white

9.05
#2527D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2527D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527D4
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527D4#FFFFFF#000000##FFFFFF
##2527D41.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D9
Deuteranopia (green-blind)
#003FD1
Tritanopia (blue-blind)
#005F80
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2527d4;
/* rgb */ color: rgb(37, 39, 212);
/* oklch */ color: oklch(42.9% 0.248 269.1);
Tailwind
colors: {
  custom: {
    50: '#8266e3',
    500: '#2527d4',
    950: '#000000',
  },
}
SCSS
$custom: #2527d4;
$custom-light: #8266e3;
$custom-dark: #000000;
JSON
{
  "hex": "#2527d4",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 212
  },
  "hsl": {
    "h": 239.314,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.42927,
    "c": 0.24821,
    "h": 269.1
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#2527D4
secondary
#D4D381
accent
#EB3BED
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2527D4

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

Preview Lab → · Contrast checker → · Palette generator →

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