#2537A5#2537A5

#2537A5 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.177 H 269.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2537A5
RGBrgb(37, 55, 165)
HSLhsl(232, 63%, 40%)
HSVhsv(232, 78%, 65%)
CMYKcmyk(77.6%, 66.7%, 0%, 35.3%)
CIE-LABlab(29.01, 33.20, -61.01)
CIE-LCHlch(29.01, 69.46, 298.56°)
OKLaboklab(40.12% -0.0026 -0.1766)
OKLCHoklch(40.12% 0.177 269.1)
XYZxyz(8.9183, 5.8413, 36.2475)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2537A5 #A59325
analogous
#2577A5 #2537A5 #5325A5
triadic
#2537A5 #A52537 #37A525
tetradic
#2537A5 #A52577 #A59325 #25A553
square
#2537A5 #A52577 #A59325 #25A553
split-complementary
#2537A5 #A55325 #77A525
monochromatic
#0F1641 #1A2673 #2537A5 #354BD2 #6778DD

Accessibility & contrast

On white

9.68
#2537A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2537A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2537A5
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2537A5#FFFFFF#000000##FFFFFF
##2537A51.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2537a5;
/* rgb */ color: rgb(37, 55, 165);
/* oklch */ color: oklch(40.1% 0.177 269.1);
Tailwind
colors: {
  custom: {
    50: '#756ec1',
    500: '#2537a5',
    950: '#000000',
  },
}
SCSS
$custom: #2537a5;
$custom-light: #756ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2537a5",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 231.563,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40123,
    "c": 0.17657,
    "h": 269.1
  },
  "luminance": 0.05842
}

Semantic roles & 50–950 ramp

primary
#2537A5
secondary
#C3B563
accent
#CF41E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2537A5

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

Preview Lab → · Contrast checker → · Palette generator →

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