#2527B2#2527B2

#2527B2 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.209 H 270.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2527B2
RGBrgb(37, 39, 178)
HSLhsl(239, 66%, 42%)
HSVhsv(239, 79%, 70%)
CMYKcmyk(79.2%, 78.1%, 0%, 30.2%)
CIE-LABlab(26.90, 47.31, -72.30)
CIE-LCHlch(26.90, 86.40, 303.20°)
OKLaboklab(39.01% 0.0027 -0.2094)
OKLCHoklch(39.01% 0.209 270.7)
XYZxyz(9.5216, 5.0576, 42.5852)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527B2 #B2B025
analogous
#256EB2 #2527B2 #6A25B2
triadic
#2527B2 #B22527 #27B225
tetradic
#2527B2 #B2256E #B2B025 #25B26A
square
#2527B2 #B2256E #B2B025 #25B26A
split-complementary
#2527B2 #B26A25 #6EB225
monochromatic
#10114D #1A1C7F #2527B2 #3D40D7 #7072E1

Accessibility & contrast

On white

10.44
#2527B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2527B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527B2
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527B2#FFFFFF#000000##FFFFFF
##2527B21.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B6
Deuteranopia (green-blind)
#0038B0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2527b2;
/* rgb */ color: rgb(37, 39, 178);
/* oklch */ color: oklch(39.0% 0.209 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a64ca',
    500: '#2527b2',
    950: '#000000',
  },
}
SCSS
$custom: #2527b2;
$custom-light: #7a64ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2527b2",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 239.149,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.3901,
    "c": 0.20938,
    "h": 270.7
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#2527B2
secondary
#C8C76B
accent
#E63FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2527B2

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

Preview Lab → · Contrast checker → · Palette generator →

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