#2527BC#2527BC

#2527BC is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.221 H 270.2°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2527BC
RGBrgb(37, 39, 188)
HSLhsl(239, 67%, 44%)
HSVhsv(239, 80%, 74%)
CMYKcmyk(80.3%, 79.3%, 0%, 26.3%)
CIE-LABlab(28.04, 50.54, -76.35)
CIE-LCHlch(28.04, 91.56, 303.50°)
OKLaboklab(40.15% 0.0007 -0.2211)
OKLCHoklch(40.15% 0.221 270.2)
XYZxyz(10.5625, 5.4740, 48.0671)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527BC #BCBA25
analogous
#2573BC #2527BC #6F25BC
triadic
#2527BC #BC2527 #27BC25
tetradic
#2527BC #BC2573 #BCBA25 #25BC6F
square
#2527BC #BC2573 #BCBA25 #25BC6F
split-complementary
#2527BC #BC6F25 #73BC25
monochromatic
#111256 #1B1C89 #2527BC #4446DA #7779E4

Accessibility & contrast

On white

10.02
#2527BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2527BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527BC
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527BC#FFFFFF#000000##FFFFFF
##2527BC1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC0
Deuteranopia (green-blind)
#003AB9
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2527bc;
/* rgb */ color: rgb(37, 39, 188);
/* oklch */ color: oklch(40.1% 0.221 270.2);
Tailwind
colors: {
  custom: {
    50: '#7c64d2',
    500: '#2527bc',
    950: '#000000',
  },
}
SCSS
$custom: #2527bc;
$custom-light: #7c64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2527bc",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 239.205,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40147,
    "c": 0.22109,
    "h": 270.2
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#2527BC
secondary
#CCCB71
accent
#E83EEA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2527BC

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

Preview Lab → · Contrast checker → · Palette generator →

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