#2537A4#2537A4

#2537A4 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.175 H 269.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2537A4
RGBrgb(37, 55, 164)
HSLhsl(231, 63%, 39%)
HSVhsv(231, 77%, 64%)
CMYKcmyk(77.4%, 66.5%, 0%, 35.7%)
CIE-LABlab(28.92, 32.83, -60.56)
CIE-LCHlch(28.92, 68.89, 298.46°)
OKLaboklab(40.03% -0.0026 -0.1752)
OKLCHoklch(40.03% 0.175 269.2)
XYZxyz(8.8277, 5.8051, 35.7700)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2537A4 #A49225
analogous
#2577A4 #2537A4 #5325A4
triadic
#2537A4 #A42537 #37A425
tetradic
#2537A4 #A42577 #A49225 #25A453
square
#2537A4 #A42577 #A49225 #25A453
split-complementary
#2537A4 #A45325 #77A425
monochromatic
#0E1640 #1A2672 #2537A4 #354BD1 #6777DD

Accessibility & contrast

On white

9.72
#2537A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2537A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2537A4
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2537A4#FFFFFF#000000##FFFFFF
##2537A41.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2537a4;
/* rgb */ color: rgb(37, 55, 164);
/* oklch */ color: oklch(40.0% 0.175 269.2);
Tailwind
colors: {
  custom: {
    50: '#756ec0',
    500: '#2537a4',
    950: '#000000',
  },
}
SCSS
$custom: #2537a4;
$custom-light: #756ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2537a4",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 231.496,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40027,
    "c": 0.17526,
    "h": 269.2
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#2537A4
secondary
#C2B562
accent
#CF42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2537A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2537A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva