#2527AD#2527AD

#2527AD is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.4% C 0.203 H 271.0°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2527AD
RGBrgb(37, 39, 173)
HSLhsl(239, 65%, 41%)
HSVhsv(239, 79%, 68%)
CMYKcmyk(78.6%, 77.5%, 0%, 32.2%)
CIE-LABlab(26.33, 45.67, -70.24)
CIE-LCHlch(26.33, 83.78, 303.03°)
OKLaboklab(38.45% 0.0036 -0.2034)
OKLCHoklch(38.45% 0.203 271)
XYZxyz(9.0287, 4.8605, 39.9894)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2527AD #ADAB25
analogous
#256BAD #2527AD #6725AD
triadic
#2527AD #AD2527 #27AD25
tetradic
#2527AD #AD256B #ADAB25 #25AD67
square
#2527AD #AD256B #ADAB25 #25AD67
split-complementary
#2527AD #AD6725 #6BAD25
monochromatic
#0F1048 #1A1C7B #2527AD #3A3DD5 #6D6EE0

Accessibility & contrast

On white

10.65
#2527AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2527AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2527AD
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2527AD#FFFFFF#000000##FFFFFF
##2527AD1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#0037AB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2527ad;
/* rgb */ color: rgb(37, 39, 173);
/* oklch */ color: oklch(38.4% 0.203 271.0);
Tailwind
colors: {
  custom: {
    50: '#7863c7',
    500: '#2527ad',
    950: '#000000',
  },
}
SCSS
$custom: #2527ad;
$custom-light: #7863c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2527ad",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 239.118,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38448,
    "c": 0.20341,
    "h": 271
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

primary
#2527AD
secondary
#C6C568
accent
#E540E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2527AD

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

Preview Lab → · Contrast checker → · Palette generator →

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