#2527B1#2527B1

#2527B1 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.208 H 270.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2527B1
RGBrgb(37, 39, 177)
HSLhsl(239, 65%, 42%)
HSVhsv(239, 79%, 69%)
CMYKcmyk(79.1%, 78%, 0%, 30.6%)
CIE-LABlab(26.78, 46.98, -71.89)
CIE-LCHlch(26.78, 85.88, 303.17°)
OKLaboklab(38.9% 0.0028 -0.2082)
OKLCHoklch(38.9% 0.208 270.8)
XYZxyz(9.4216, 5.0176, 42.0584)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527B1 #B1AF25
analogous
#256DB1 #2527B1 #6925B1
triadic
#2527B1 #B12527 #27B125
tetradic
#2527B1 #B1256D #B1AF25 #25B169
square
#2527B1 #B1256D #B1AF25 #25B169
split-complementary
#2527B1 #B16925 #6DB125
monochromatic
#10114C #1A1C7E #2527B1 #3D3FD6 #6F71E1

Accessibility & contrast

On white

10.48
#2527B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2527B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527B1
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527B1#FFFFFF#000000##FFFFFF
##2527B11.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0038AF
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2527b1;
/* rgb */ color: rgb(37, 39, 177);
/* oklch */ color: oklch(38.9% 0.208 270.8);
Tailwind
colors: {
  custom: {
    50: '#7964ca',
    500: '#2527b1',
    950: '#000000',
  },
}
SCSS
$custom: #2527b1;
$custom-light: #7964ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2527b1",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 239.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.38897,
    "c": 0.20819,
    "h": 270.8
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#2527B1
secondary
#C8C66A
accent
#E63FE8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2527B1

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

Preview Lab → · Contrast checker → · Palette generator →

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