#2537A3#2537A3

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

Color values

HEX#2537A3
RGBrgb(37, 55, 163)
HSLhsl(231, 63%, 39%)
HSVhsv(231, 77%, 64%)
CMYKcmyk(77.3%, 66.3%, 0%, 36.1%)
CIE-LABlab(28.82, 32.46, -60.11)
CIE-LCHlch(28.82, 68.31, 298.37°)
OKLaboklab(39.93% -0.0025 -0.1739)
OKLCHoklch(39.93% 0.174 269.2)
XYZxyz(8.7377, 5.7691, 35.2963)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2537A3 #A39125
analogous
#2576A3 #2537A3 #5225A3
triadic
#2537A3 #A32537 #37A325
tetradic
#2537A3 #A32576 #A39125 #25A352
square
#2537A3 #A32576 #A39125 #25A352
split-complementary
#2537A3 #A35225 #76A325
monochromatic
#0E153F #1A2671 #2537A3 #344BD1 #6677DC

Accessibility & contrast

On white

9.75
#2537A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2537A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2537A3
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2537A3#FFFFFF#000000##FFFFFF
##2537A31.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2537a3;
/* rgb */ color: rgb(37, 55, 163);
/* oklch */ color: oklch(39.9% 0.174 269.2);
Tailwind
colors: {
  custom: {
    50: '#746ebf',
    500: '#2537a3',
    950: '#000000',
  },
}
SCSS
$custom: #2537a3;
$custom-light: #746ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2537a3",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 231.429,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3993,
    "c": 0.17393,
    "h": 269.2
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2537A3

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

Preview Lab → · Contrast checker → · Palette generator →

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